From 236328e6e6842a9f56803b6d045756ff8372b5c0 Mon Sep 17 00:00:00 2001 From: Hodaka Kasama Date: Fri, 21 Aug 2020 09:59:18 +0900 Subject: [PATCH 1/2] add _opts property in Ajv.Ajv --- lib/ajv.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ajv.d.ts b/lib/ajv.d.ts index cc2881b33..f79218237 100644 --- a/lib/ajv.d.ts +++ b/lib/ajv.d.ts @@ -137,6 +137,7 @@ declare namespace ajv { */ errorsText(errors?: Array | null, options?: ErrorsTextOptions): string; errors?: Array | null; + _opts: any; } interface CustomLogger { From 996333166f991380d4e2d95bc147d0e6e7a33fb6 Mon Sep 17 00:00:00 2001 From: Hodaka Kasama Date: Mon, 7 Sep 2020 17:04:41 +0900 Subject: [PATCH 2/2] change _opts type to Options. --- lib/ajv.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ajv.d.ts b/lib/ajv.d.ts index f79218237..078364d8c 100644 --- a/lib/ajv.d.ts +++ b/lib/ajv.d.ts @@ -137,7 +137,7 @@ declare namespace ajv { */ errorsText(errors?: Array | null, options?: ErrorsTextOptions): string; errors?: Array | null; - _opts: any; + _opts: Options; } interface CustomLogger {