index.test-d.ts:11:4
✖ 5:0 Found an error that tsd does not currently support (ts2719), consider creating an issue on GitHub.
✖ 11:4 Type T is not assignable to type T. Two different types with this name exist, but they are unrelated.
T could be instantiated with an arbitrary type which could be unrelated to T.
2 errors
test/types/instance.test-d.ts:374:2
✖ 373:0 Found an error that tsd does not currently support (ts2719), consider creating an issue on GitHub.
✖ 374:2 Type (this: import("/home/runner/work/fastify/fastify/types/instance").FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, { new (req: import("http").IncomingMessage): import("http").ServerResponse<import("http").IncomingMessage>; prototype: import("http").ServerResponse<any>; ... 29 more ...; Ev... is not assignable to type (this: import("/home/runner/work/fastify/fastify/types/instance").FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, { new (req: import("http").IncomingMessage): import("http").ServerResponse<import("http").IncomingMessage>; prototype: import("http").ServerResponse<any>; ... 29 more ...; Ev.... Two different types with this name exist, but they are unrelated.
Type boolean is not assignable to type string.
✖ 421:0 Found an error that tsd does not currently support (ts2719), consider creating an issue on GitHub.
✖ 422:2 Type (this: import("/home/runner/work/fastify/fastify/types/instance").FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, { new (req: import("http").IncomingMessage): import("http").ServerResponse<import("http").IncomingMessage>; prototype: import("http").ServerResponse<any>; ... 29 more ...; Ev... is not assignable to type (this: import("/home/runner/work/fastify/fastify/types/instance").FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, { new (req: import("http").IncomingMessage): import("http").ServerResponse<import("http").IncomingMessage>; prototype: import("http").ServerResponse<any>; ... 29 more ...; Ev.... Two different types with this name exist, but they are unrelated.
Type string is not assignable to type boolean.
I had found something like:
Would generate:
Originally found at https://github.com/fastify/fastify/actions/runs/10696978690/job/29653469150?pr=5660#step:5:12 as
This adds it to the diagnostics codes.