packages/typegen/src/templates/interfaceRegistry.hbs
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
{{{ importsAll }}}
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
{{#each items}}
{{{this}}}: {{{this}}};
{{/each}}
} // InterfaceTypes
} // declare module