We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 616f0f9 commit fbe3430Copy full SHA for fbe3430
types/index.d.ts
@@ -1,4 +1,4 @@
1
-import { FastifyPluginCallback } from 'fastify';
+import { FastifyPluginAsync } from 'fastify';
2
3
declare module "fastify" {
4
@@ -17,7 +17,7 @@ declare module "fastify" {
17
}
18
19
20
-type FastifyView = FastifyPluginCallback<fastifyView.FastifyViewOptions>
+type FastifyView = FastifyPluginAsync<fastifyView.FastifyViewOptions>
21
22
declare namespace fastifyView {
23
export interface FastifyViewOptions {
0 commit comments