Skip to content

Commit 6f488b8

Browse files
YoshiyukiKatokibertoad
authored andcommitted
accept RegExp as type of format.pattern (#89)
1 parent 4d37e34 commit 6f488b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export enum frameworks {
3737

3838
export interface format {
3939
name: string;
40-
pattern: string;
40+
pattern: RegExp | string;
4141
}
4242

4343
export interface ajvValidatorOptions {

0 commit comments

Comments
 (0)