Skip to content

Commit

Permalink
fix: generated index.d.ts file using tsc command (asyncapi#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinibiavatti1 committed Nov 21, 2022
1 parent 14ecce9 commit 7fbbfef
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 7fbbfef

Please sign in to comment.