We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to use the type FastifyZodInstance without having to re-create the type again in my app
example:
import { FastifyZodInstance } from 'fastify-type-provider-zod' export const buildMyRoute = ( fastify: FastifyZodInstance, ) => fastify .get(resource, {
A good improvement would be to directly export the type from the lib, since is already created in the index.test-d.ts file
index.test-d.ts
I've tried to open a pr but is blocked The requested URL returned error: 403
The requested URL returned error: 403
In src/index.ts
import type { FastifyInstance, FastifyBaseLogger, FastifySchema, FastifySchemaCompiler, FastifyTypeProvider, RawReplyDefaultExpression, RawRequestDefaultExpression, RawServerDefault, } from 'fastify'; export type FastifyZodInstance = FastifyInstance< RawServerDefault, RawRequestDefaultExpression, RawReplyDefaultExpression, FastifyBaseLogger, ZodTypeProvider >;
In types/index.test-d.ts
import type { FastifyZodInstance, ZodTypeProvider } from '../src/index';
The text was updated successfully, but these errors were encountered:
any progress on this issue? or any other way to resolve it?
Sorry, something went wrong.
No branches or pull requests
I would like to use the type FastifyZodInstance
without having to re-create the type again in my app
example:
A good improvement would be to directly export the type from the lib, since is already created in the
index.test-d.ts
fileI've tried to open a pr but is blocked
The requested URL returned error: 403
In src/index.ts
In types/index.test-d.ts
import type { FastifyZodInstance, ZodTypeProvider } from '../src/index';
The text was updated successfully, but these errors were encountered: