You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running tests getting the following error on this library (reference branch master):
TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option):
src/mock-utilities.ts:40:26 - error TS2769: No overload matches this call.
Overload 1 of 2, '(fn: (user: User, done: (err: any, id?: string | undefined) => void) => void): void', gave the following error.
Argument of type '(user: User, done: (error: any, id: string) => void) => void' is not assignable to parameter of type '(user: User, done: (err: any, id?: string | undefined) => void) => void'.
Types of parameters 'user' and 'user' are incompatible.
Type 'User' is missing the following properties from type 'User': id, name, emails, provider
Overload 2 of 2, '(fn: (req: IncomingMessage, user: User, done: (err: any, id?: unknown) => void) => void): void', gave the following error.
Argument of type '(user: User, done: (error: any, id: string) => void) => void' is not assignable to parameter of type '(req: IncomingMessage, user: User, done: (err: any, id?: unknown) => void) => void'.
Types of parameters 'user' and 'req' are incompatible.
Type 'IncomingMessage' is missing the following properties from type 'User': id, name, emails, provider
The text was updated successfully, but these errors were encountered:
When running tests getting the following error on this library (reference branch master):
The text was updated successfully, but these errors were encountered: