From bea9577a7cee8bd873151e47f2120591271cd0db Mon Sep 17 00:00:00 2001 From: Samuel Batista Date: Mon, 28 Jun 2021 18:42:11 -0400 Subject: [PATCH] Add makeChild type to SchemaContext --- lib/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.d.ts b/lib/index.d.ts index 5acb33b..ea22e08 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -123,6 +123,7 @@ export interface SchemaContext { propertyPath: string; base: string; schemas: {[base: string]: Schema}; + makeChild: (schema: Schema, key: string) => SchemaContext; } export interface CustomFormat {