ui-router-registry / ui-router-registry / RegisteredStates
Interface: RegisteredStates
Defined in: registry.ts:51
The app's state declarations keyed by name, filled in by module augmentation. Each module registers its own as const table, lazy modules included, and a file that imports none of them still sees every name:
ts
declare module 'ui-router-registry' {
interface RegisteredStates extends StatesOf<typeof contactsStates> {}
}A class-declared state can be registered by hand: interface RegisteredStates { about: typeof AboutState }.