mobx-bonsai
Version:
A fast lightweight alternative to MobX-State-Tree + Y.js two-way binding
23 lines (22 loc) • 728 B
TypeScript
export interface ImmutableDate extends Omit<Date, "setTime" | "setMilliseconds" | "setUTCMilliseconds" | "setSeconds" | "setUTCSeconds" | "setMinutes" | "setUTCMinutes" | "setHours" | "setUTCHours" | "setDate" | "setUTCDate" | "setMonth" | "setUTCMonth" | "setFullYear" | "setUTCFullYear"> {
}
/**
* @internal
*/
export declare class ImmutableDate extends Date {
setTime(): any;
setMilliseconds(): any;
setUTCMilliseconds(): any;
setSeconds(): any;
setUTCSeconds(): any;
setMinutes(): any;
setUTCMinutes(): any;
setHours(): any;
setUTCHours(): any;
setDate(): any;
setUTCDate(): any;
setMonth(): any;
setUTCMonth(): any;
setFullYear(): any;
setUTCFullYear(): any;
}