From a8febe824af674aba618f4b8b9af6672181c459d Mon Sep 17 00:00:00 2001 From: Maxim Molochkov <48491463+klaseca@users.noreply.github.com> Date: Fri, 11 Nov 2022 19:19:20 +0400 Subject: [PATCH] Fix typescript error due to schema type (#137) --- types/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index b7406f7..ac2a186 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,7 +1,6 @@ import Ajv, { KeywordDefinition, JSONSchemaType } from 'ajv'; import { AnySchema } from 'ajv/dist/core'; import { DotenvConfigOptions } from 'dotenv'; -import { ObjectSchema } from 'fluent-json-schema'; export type { JSONSchemaType }; @@ -10,7 +9,7 @@ export type EnvSchemaData = { }; export type EnvSchemaOpt = { - schema?: JSONSchemaType | AnySchema | ObjectSchema; + schema?: JSONSchemaType | AnySchema; data?: [EnvSchemaData, ...EnvSchemaData[]] | EnvSchemaData; env?: boolean; dotenv?: boolean | DotenvConfigOptions;