fix: build #640
Annotations
5 errors
Type Check
Process completed with exit code 2.
|
Type Check
Argument of type '((data: WebSocketBaseEvent<keyof WebSocketEvents<C>, { message: string; } | { token: string; } | { authenticated: boolean; } | ({ text: string; } & Partial<WithInputSource<"browser" | "discord">>) | ... 4 more ... | { ...; }>) => void | Promise<...>)[] | undefined' is not assignable to parameter of type '((data: WebSocketBaseEvent<keyof WebSocketEvents<C>, { message: string; } | { token: string; } | { authenticated: boolean; } | ({ text: string; } & Partial<WithInputSource<"browser" | "discord">>) | ... 4 more ... | { ...; }>) => void | Promise<...>)[]'.
|
Type Check
Argument of type '(data: WebSocketBaseEvent<E, WebSocketEvents<C>[E]>) => void | Promise<void>' is not assignable to parameter of type '(data: WebSocketBaseEvent<keyof WebSocketEvents<C>, { message: string; } | { token: string; } | { authenticated: boolean; } | ({ text: string; } & Partial<WithInputSource<"browser" | "discord">>) | ... 4 more ... | { ...; }>) => void | Promise<...>'.
|
Type Check
'listeners' is possibly 'undefined'.
|
Type Check
Property 'websocket' has no initializer and is not definitely assigned in the constructor.
|