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
Argument of type 'typeof fastifyOpenTelemetry' is not assignable to parameter of type 'FastifyPluginCallback<{ wrapRoutes: boolean; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger> | FastifyPluginAsync<...> | Promise<...> | Promise<...>'.
#74
Open
jmikedupont2 opened this issue
Jan 6, 2025
· 2 comments
· May be fixed by #75
> tsc
Error: src/plugins/tracing.ts(13,22): error TS2769: No overload matches this call.
Overload 1 of 6, '(plugin: FastifyPluginCallback<{ wrapRoutes: boolean; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts: FastifyRegisterOptions<...>): FastifyInstance<...> & ... 1 more ... & { ...; }', gave the following error.
Argument of type 'typeof fastifyOpenTelemetry' is not assignable to parameter of type 'FastifyPluginCallback<{ wrapRoutes: boolean; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'.
Type 'typeof fastifyOpenTelemetry' provides no match for the signature '(instance: FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTypeProvider>, opts: { ...; }, done: (err?: Error | undefined) => void): void'.
Overload 2 of 6, '(plugin: FastifyPluginAsync<{ wrapRoutes: boolean; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts: FastifyRegisterOptions<...>): FastifyInstance<...> & ... 1 more ... & { ...; }', gave the following error.
Argument of type 'typeof fastifyOpenTelemetry' is not assignable to parameter of type 'FastifyPluginAsync<{ wrapRoutes: boolean; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'.
Type 'typeof fastifyOpenTelemetry' provides no match for the signature '(instance: FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTypeProvider>, opts: { ...; }): Promise<...>'.
Overload 3 of 6, '(plugin: FastifyPluginCallback<{ wrapRoutes: boolean; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger> | FastifyPluginAsync<...> | Promise<...> | Promise<...>, opts: FastifyRegisterOptions<...>): FastifyInstance<...> & ... 1 more ... & { ...; }', gave the following error.
Argument of type 'typeof fastifyOpenTelemetry' is not assignable to parameter of type 'FastifyPluginCallback<{ wrapRoutes: boolean; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger> | FastifyPluginAsync<...> | Promise<...> | Promise<...>'.
ELIFECYCLE Command failed with exit code 2.
Error: The operation was canceled.
0s
Post job cleanup.
Pruning is unnecessary.
The text was updated successfully, but these errors were encountered:
reproducable here:
https://github.com/jmikedupont2/fastify-eliza-vercel/actions/runs/12624370786/job/35174543578#step:5:67
The text was updated successfully, but these errors were encountered: