Skip to content

Commit

Permalink
🧹 chore: fix invalid type
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyAom committed Nov 14, 2024
1 parent 842f103 commit 0240b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ export const getSchemaValidator = <T extends TSchema | string | undefined>(
const compiled = TypeCompiler.Compile(schema, Object.values(models))

// @ts-expect-error
compiled.Clean = cleaner
compiled.Clean = createCleaner(schema)

// @ts-ignore
if (schema.config) {
Expand Down

0 comments on commit 0240b5a

Please sign in to comment.