We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2417e3 commit 5f3aff7Copy full SHA for 5f3aff7
package.json
@@ -39,7 +39,7 @@
39
"dependencies": {
40
"ajv": "^6.12.6",
41
"fastify-plugin": "^3.0.0",
42
- "http-errors-enhanced": "^0.4.2"
+ "http-errors-enhanced": "^0.4.3"
43
},
44
"devDependencies": {
45
"@cowtech/eslint-config": "^7.10.1",
src/interfaces.ts
@@ -1,10 +1,12 @@
1
import { Ajv, ValidateFunction } from 'ajv'
2
3
declare module 'fastify' {
4
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
interface FastifyInstance {
6
responseValidatorSchemaCompiler: Ajv
7
}
8
9
10
interface FastifyRequest {
11
errorProperties?: {
12
hideUnhandledErrors?: boolean
0 commit comments