Skip to content

Commit 0240b5a

Browse files
committed
🧹 chore: fix invalid type
1 parent 842f103 commit 0240b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ export const getSchemaValidator = <T extends TSchema | string | undefined>(
667667
const compiled = TypeCompiler.Compile(schema, Object.values(models))
668668

669669
// @ts-expect-error
670-
compiled.Clean = cleaner
670+
compiled.Clean = createCleaner(schema)
671671

672672
// @ts-ignore
673673
if (schema.config) {

0 commit comments

Comments
 (0)