Skip to content

Commit

Permalink
Fix Ajv import in type declaration file (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
ledleds authored May 20, 2022
1 parent 689fb6d commit c01dbf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Request } from "express";
import { RequestHandler } from "express-serve-static-core";
import { JSONSchema4, JSONSchema6, JSONSchema7 } from "json-schema";
import { Ajv, ErrorObject, Options as AjvOptions } from "ajv";
import Ajv, { ErrorObject, Options as AjvOptions } from "ajv";

declare module "express-json-validator-middleware" {
type OptionKey = "body" | "params" | "query";
Expand Down

0 comments on commit c01dbf6

Please sign in to comment.