Skip to content

Commit 58f4bb7

Browse files
authored
fix: add phantom export to prevent empty types.ts compilation error (#6221)
1 parent bf2297b commit 58f4bb7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/typegen/src/templates/tsDef/types.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
{{#each items}}
44
export * from './{{{this}}}/types.js';
55
{{/each}}
6+
7+
export type PHANTOM_GENERATED = 'generated';

packages/types/src/interfaces/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ export * from './vesting/types.js';
7878
export * from './xcm/types.js';
7979
export * from './xcmPaymentApi/types.js';
8080
export * from './xcmRuntimeApi/types.js';
81+
82+
export type PHANTOM_GENERATED = 'generated';

0 commit comments

Comments
 (0)