Skip to content

Commit

Permalink
types: re-export FastifyListenOptions in top-level types (#4135)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranet committed Jul 15, 2022
1 parent abab588 commit 435c437
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fastify.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export type { Chain as LightMyRequestChain, InjectOptions, Response as LightMyRe
export { FastifyRequest, RequestGenericInterface } from './types/request'
export { FastifyReply } from './types/reply'
export { FastifyPluginCallback, FastifyPluginAsync, FastifyPluginOptions, FastifyPlugin } from './types/plugin'
export { FastifyInstance, PrintRoutesOptions } from './types/instance'
export { FastifyListenOptions, FastifyInstance, PrintRoutesOptions } from './types/instance'
export { FastifyLoggerOptions, FastifyBaseLogger, FastifyLoggerInstance, FastifyLogFn, LogLevel } from './types/logger'
export { FastifyContext, FastifyContextConfig } from './types/context'
export { RouteHandler, RouteHandlerMethod, RouteOptions, RouteShorthandMethod, RouteShorthandOptions, RouteShorthandOptionsWithHandler } from './types/route'
Expand Down
2 changes: 1 addition & 1 deletion test/types/import.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import { FastifyLogFn } from '../../fastify'
import { FastifyListenOptions, FastifyLogFn } from '../../fastify'

0 comments on commit 435c437

Please sign in to comment.