-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
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.
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug