what is this dumb typescript rule

'Unsafe assignment of an any value.' I don't remember it some time ago when creating t3 apps, for example it's yelling at me here:
import ws from 'ws';
const wss = new ws.Server({
port: 3001,
but wss has type? ws.Server<ws.WebSocket>
});
import ws from 'ws';
const wss = new ws.Server({
port: 3001,
but wss has type? ws.Server<ws.WebSocket>
});
1 Reply
whatplan
whatplan2y ago
You might have already tried it, but restarting typescript server/your IDE solves a lot of silly issues
Want results from more Discord servers?
Add your server