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

View file

@ -20,6 +20,19 @@ packageExtensions:
koa-views@*: koa-views@*:
dependencies: dependencies:
pug: "*" 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: plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs