Skip to content

Commit 4602f13

Browse files
committed
1 parent 1068286 commit 4602f13

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

index.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ import {
1111
declare module 'fastify' {
1212
interface FastifyInstance {
1313
basicAuth: onRequestHookHandler |
14-
preParsingHookHandler |
15-
preValidationHookHandler |
16-
preHandlerHookHandler
14+
preValidationHookHandler |
15+
preHandlerHookHandler
1716
}
1817
}
1918

index.test-d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,5 @@ app.register(fastifyBasicAuth, {
3131
})
3232

3333
expectAssignable<onRequestHookHandler>(app.basicAuth)
34-
expectAssignable<preParsingHookHandler>(app.basicAuth)
3534
expectAssignable<preValidationHookHandler>(app.basicAuth)
36-
expectAssignable<preHandlerHookHandler>(app.basicAuth)
35+
expectAssignable<preHandlerHookHandler>(app.basicAuth)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"homepage": "https://github.com/fastify/fastify-basic-auth#readme",
2727
"devDependencies": {
28-
"fastify": "^3.0.0-rc.1",
28+
"fastify": "^3.0.0-rc.4",
2929
"fastify-auth": "^1.0.0",
3030
"standard": "^14.3.3",
3131
"tap": "^14.10.7",

0 commit comments

Comments
 (0)