Skip to content

Commit 372fc66

Browse files
committed
fix: Fixed build.
1 parent 81b7e09 commit 372fc66

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/validation.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import Ajv from 'ajv'
2-
import {
3-
FastifyInstance,
4-
FastifyReply,
5-
FastifyRequest,
6-
RouteOptions,
7-
ValidationResult as FastifyValidationResult
8-
} from 'fastify'
2+
import * as fastify from 'fastify'
3+
import { FastifyInstance, FastifyReply, FastifyRequest, RouteOptions } from 'fastify'
94
import { InternalServerError, INTERNAL_SERVER_ERROR } from 'http-errors-enhanced'
105
import {
116
Configuration,
@@ -18,7 +13,7 @@ import {
1813
} from './interfaces.js'
1914
import { get } from './utils.js'
2015

21-
export interface ValidationResult extends FastifyValidationResult {
16+
export interface ValidationResult extends fastify.ValidationResult {
2217
dataPath: any
2318
instancePath: string
2419
}

0 commit comments

Comments
 (0)