Skip to content

Commit

Permalink
Remove explicit list of keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
jsone-studios committed Mar 23, 2020
1 parent ac8077a commit a362cc8
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions ajv-keywords.d.ts
@@ -1,28 +1,7 @@
declare module 'ajv-keywords' {
import { Ajv } from 'ajv';

type AdditionalKeywords =
| 'typeof'
| 'instanceof'
| 'range'
| 'regexp'
| 'formatMinimum'
| 'formatMaximum'
| 'transform'
| 'uniqueItemProperties'
| 'allRequired'
| 'anyRequired'
| 'oneRequired'
| 'patternRequired'
| 'prohibited'
| 'deepProperties'
| 'deepRequired'
| 'switch'
| 'select'
| 'dynamicDefaults'
;

function keywords(ajv: Ajv, include?: AdditionalKeywords | AdditionalKeywords[]): Ajv;
function keywords(ajv: Ajv, include?: string | string[]): Ajv;

export = keywords;
}

0 comments on commit a362cc8

Please sign in to comment.