Skip to content

Commit

Permalink
inlined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tomer-shvadron committed Jul 17, 2024
1 parent ddb6328 commit a3f969a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions src/ajv-options.ts

This file was deleted.

3 changes: 1 addition & 2 deletions src/decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import type {
import { capitalize, coerceType, isObj } from './util.js';

import AjvFormats from 'ajv-formats';
import { ajvOptions } from './ajv-options.js';

const ajv = new Ajv({
coerceTypes: 'array',
Expand All @@ -36,7 +35,7 @@ const ajv = new Ajv({
allErrors: false,

// Our custom options:
...ajvOptions,
keywords: ['transform'],
});

AjvFormats.default(ajv);
Expand Down

0 comments on commit a3f969a

Please sign in to comment.