From 7fbbfef7935a55595bf836523a27f953e3fa6610 Mon Sep 17 00:00:00 2001 From: "vinicius.biavatti" Date: Mon, 21 Nov 2022 17:35:23 +0000 Subject: [PATCH] fix: generated index.d.ts file using tsc command (#287) --- 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;