From c1a6f3c70fe0a33cb5452b53d66a2478caeda120 Mon Sep 17 00:00:00 2001 From: Vinicius Reif Biavatti Date: Thu, 24 Nov 2022 12:52:39 +0000 Subject: [PATCH] fix: generated index.d.ts file using tsc command (#287) (#288) Co-authored-by: Lukasz Gornicki --- index.d.ts | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/index.d.ts b/index.d.ts index a5b0cc5f..36e37f47 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,14 +1,11 @@ import type { JSONSchema7 } from 'json-schema'; -declare module '@asyncapi/specs' { - const specs: { - '2.0.0': JSONSchema7, - '2.1.0': JSONSchema7, - '2.2.0': JSONSchema7, - '2.3.0': JSONSchema7, - '2.4.0': JSONSchema7, - '2.5.0': JSONSchema7, - } - - export default specs; -} +declare const _exports: { + '2.0.0': JSONSchema7; + '2.1.0': JSONSchema7; + '2.2.0': JSONSchema7; + '2.3.0': JSONSchema7; + '2.4.0': JSONSchema7; + '2.5.0': JSONSchema7; +}; +export = _exports;