diff --git a/packages/typegen/src/templates/tsDef/types.hbs b/packages/typegen/src/templates/tsDef/types.hbs index 2cfd0411d9b5..f3fe4ba93651 100644 --- a/packages/typegen/src/templates/tsDef/types.hbs +++ b/packages/typegen/src/templates/tsDef/types.hbs @@ -3,3 +3,5 @@ {{#each items}} export * from './{{{this}}}/types.js'; {{/each}} + +export type PHANTOM_GENERATED = 'generated'; diff --git a/packages/types/src/interfaces/types.ts b/packages/types/src/interfaces/types.ts index caa7c4ac03ee..9891bfc1db21 100644 --- a/packages/types/src/interfaces/types.ts +++ b/packages/types/src/interfaces/types.ts @@ -78,3 +78,5 @@ export * from './vesting/types.js'; export * from './xcm/types.js'; export * from './xcmPaymentApi/types.js'; export * from './xcmRuntimeApi/types.js'; + +export type PHANTOM_GENERATED = 'generated';