Fix ajv-merge-patch types

This commit is contained in:
Zhu Zijia 2019-02-12 09:19:17 +08:00
parent 2ed5c91dcf
commit db06b28505
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,6 @@
import * as Ajv from "ajv";
import * as ajvMergePatch from "ajv-merge-patch";
import ajvMergePatch = require("ajv-merge-patch");
const ajv = new Ajv();

View File

@ -6,7 +6,6 @@
import { Ajv } from "ajv";
declare namespace ajvMergePatch {}
declare function ajvMergePatch(ajv: Ajv): void;
export = ajvMergePatch;