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 ea2ea7c commit 8e827ddCopy full SHA for 8e827dd
src/schemaParser.tsx
@@ -15,6 +15,8 @@ import {
15
SchemaParserConfigOpt,
16
} from "./schemaTypes";
17
18
+import Ajv from "ajv";
19
+
20
import { defaultParserConfig } from "./defaultParserConfig";
21
22
export interface AjvError {
@@ -108,7 +110,6 @@ export function transformOutputToRawData(metaOutput: any): any {
108
110
}
109
111
112
export async function validateRoot(rootNode: RootNode) {
- const Ajv = ((await import("ajv")) as unknown as any).default;
113
114
const ajv = new Ajv({
115
allErrors: true,
0 commit comments