Closed
Description
I have this:
export interface HavenData {
timeoutAmount: number;
throwSync?: boolean;
timeoutThrow: boolean;
promiseThrow: boolean;
}
const qs = {timeout: Math.ceil(30 * Math.random())} as Partial<HavenData>;
shouldn't that be an error since timeout
is not a member of the HavenData
interface? I am not seeing a problem in my IDE.