interface IComponents { [
key:
string]
: { new: ((...args) => InstanceType<typeof default>); }; } Indexable
[key:
string]: { new: ((...args) => InstanceType<typeof default>); } new: ((...args) => InstanceType<typeof default>)
- (...args): InstanceType<typeof default>
Returns InstanceType<typeof default>