Skip to content

Commit c1a6f3c

Browse files
fix: generated index.d.ts file using tsc command (#287) (#288)
Co-authored-by: Lukasz Gornicki <lpgornicki@gmail.com>
1 parent 5c73875 commit c1a6f3c

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

index.d.ts

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import type { JSONSchema7 } from 'json-schema';
22

3-
declare module '@asyncapi/specs' {
4-
const specs: {
5-
'2.0.0': JSONSchema7,
6-
'2.1.0': JSONSchema7,
7-
'2.2.0': JSONSchema7,
8-
'2.3.0': JSONSchema7,
9-
'2.4.0': JSONSchema7,
10-
'2.5.0': JSONSchema7,
11-
}
12-
13-
export default specs;
14-
}
3+
declare const _exports: {
4+
'2.0.0': JSONSchema7;
5+
'2.1.0': JSONSchema7;
6+
'2.2.0': JSONSchema7;
7+
'2.3.0': JSONSchema7;
8+
'2.4.0': JSONSchema7;
9+
'2.5.0': JSONSchema7;
10+
};
11+
export = _exports;

0 commit comments

Comments
 (0)