I have two interfaces;
interface ISuccessResponse {
Success: boolean;
Message: string;
}
and
interface IAppVersion extends ISuccessResponse {
OSVersionStatus: number;
LatestVersion: string;
}
I would like to extend ISuccessResponse interface as Not Required; I can do it as overwrite it but is there an other option?
interface IAppVersion {
OSVersionStatus: number;
LatestVersion: string;
Success?: boolean;
Message?: string;
}
I don't want to do this.