Let's say I have interface:
interface IAddress {
addressProperty: any;
}
Is there a way to write interface similar to this:
interface ILoadable<T> {
loading: boolean;
}
So I can use it like:
interface IStateSlice {
address: ILoadable<IAddress>;
}
Where address will be ILoadable extended with IAddress.