Skip to content

Commit ebb004d

Browse files
chore: remove import and type
1 parent 038a539 commit ebb004d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/rules/ajv.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { escapePointer } from '../ref-utils.js';
55

66
import type { Location } from '../ref-utils.js';
77
import type { ValidateFunction, ErrorObject } from '@redocly/ajv/dist/2020.js';
8-
import type { ValidateFunction as ValidateFunctionDraft04 } from 'ajv-draft-04';
98
import type { ResolveFn } from '../walk.js';
109

1110
let ajvInstance: Ajv | null = null;
@@ -80,7 +79,7 @@ function getAjvDraft04Validator(
8079
schema: any,
8180
loc: Location,
8281
resolve: ResolveFn
83-
): ValidateFunctionDraft04 | undefined {
82+
): ValidateFunction | undefined {
8483
const ajvDraft04 = getAjvDraft04();
8584

8685
const dereferencedSchema = dereferenceSchema(schema, loc.source.absoluteRef, resolve);

0 commit comments

Comments
 (0)