No overload matches this call.
Overload 1 of 4, '(srv: any, opts?: ServerOptions): Server', gave the following error.
Type 'typeof LocalAdapter' is missing the following properties from type 'Adapter': nsp, rooms, sids, add, and 18 more.
Overload 2 of 4, '(port: string | number, opts?: ServerOptions): Server', gave the following error.
Argument of type 'Server' is not assignable to parameter of type 'string | number'.
Type 'Server' is not assignable to type 'number'.ts(2769)
index.d.ts(314, 3): The expected type comes from property 'adapter' which is declared here on type 'ServerOptions'
Hello, I'm facing issues when trying to extend this base adapter for local memory use in a TS project.
Declaring a module,
extending it
and trying to use it
results on
Seems like class has no properties...