Skip to content

Commit fbe3430

Browse files
authored
chore: use FastifyPluginAsync in types (#411)
1 parent 616f0f9 commit fbe3430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FastifyPluginCallback } from 'fastify';
1+
import { FastifyPluginAsync } from 'fastify';
22

33
declare module "fastify" {
44

@@ -17,7 +17,7 @@ declare module "fastify" {
1717
}
1818
}
1919

20-
type FastifyView = FastifyPluginCallback<fastifyView.FastifyViewOptions>
20+
type FastifyView = FastifyPluginAsync<fastifyView.FastifyViewOptions>
2121

2222
declare namespace fastifyView {
2323
export interface FastifyViewOptions {

0 commit comments

Comments
 (0)