Suppose I have the following interface:
interface IAddress {
addressProperty: any;
}
Is it possible to create an interface that resembles this one:
interface ILoadable<T> {
loading: boolean;
}
This way, I would be able to use it like so:
interface IStateSlice {
address: ILoadable<IAddress>;
}
In this example, "address" would be a combination of ILoadable and IAddress properties.