#Typings wrong for WS package
1 messages · Page 1 of 1 (latest)
yes, but bun actually uses its own implementations for libraries like: node-fetch, undici, so node codebases don't need to change anything to gain performance boost
it may sound stupid, are @types/ws installed?
yeah, could u send your tsconfig?
also have u tried restarting ts-server
I assume you're using Bun.* apis somewhere, but bun-types wrongly override ws library types
declare module "ws" {
if you remove them from tsconfig, it will work, but that's not really a proper fix in case you're using Bun.* apis 