massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / node_modules / ajv / dist / types / index.d.ts
index 6581cef361a3ccfcf32b5c62971d0ab24da1ac43..a6994402b47cd9df3d499db5c1b4034a02ddd231 100644 (file)
@@ -4,11 +4,13 @@ import type { JSONType } from "../compile/rules";
 import type { KeywordCxt } from "../compile/validate";
 import type Ajv from "../core";
 interface _SchemaObject {
+    id?: string;
     $id?: string;
     $schema?: string;
     [x: string]: any;
 }
 export interface SchemaObject extends _SchemaObject {
+    id?: string;
     $id?: string;
     $schema?: string;
     $async?: false;
@@ -165,4 +167,11 @@ export interface AsyncFormatDefinition<T extends string | number> {
 }
 export declare type AddedFormat = true | RegExp | FormatValidator<string> | FormatDefinition<string> | FormatDefinition<number> | AsyncFormatDefinition<string> | AsyncFormatDefinition<number>;
 export declare type Format = AddedFormat | string;
+export interface RegExpEngine {
+    (pattern: string, u: string): RegExpLike;
+    code: string;
+}
+export interface RegExpLike {
+    test: (s: string) => boolean;
+}
 export {};