fix: some type errors around fastify plugins (#9391)

This commit is contained in:
rinsuki 2022-12-23 08:31:20 +09:00 committed by GitHub
parent 462b917e46
commit d7f8fd6d1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -20,6 +20,19 @@ packageExtensions:
koa-views@*:
dependencies:
pug: "*"
# these are needed to extend fastify types
"@fastify/accepts@*":
peerDependencies:
fastify: "*"
"@fastify/cookie@*":
peerDependencies:
fastify: "*"
"@fastify/static@*":
peerDependencies:
fastify: "*"
"@fastify/view@*":
peerDependencies:
fastify: "*"
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs