If you want to Success, and Messagehave been optional, you can do this:
interface IAppVersion {
OSVersionStatus: number;
LatestVersion: string;
Success?: boolean;
Message?: string;
}
You cannot use the keyword extendsto connect the interface ISuccessResponse, but then change the contract defined in this interface (this interface says that they are necessary). p>
source
share