-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi, thanks for a potentially very useful lib!
Currently, given an interface with a date property
export interface MyInterface {
myDate: Date;
}
the generated code does not compile
const MyInterface = t.type({myDate: t.type({toString: t.Function, toDateString: t.Function, toTimeString: t.Function, toLocaleString: t.Function, toLocaleDateString: t.Function, toLocaleTimeString: t.Function, valueOf: t.Function, getTime: t.Function, getFullYear: t.Function, getUTCFullYear: t.Function, getMonth: t.Function, getUTCMonth: t.Function, getDate: t.Function, getUTCDate: t.Function, getDay: t.Function, getUTCDay: t.Function, getHours: t.Function, getUTCHours: t.Function, getMinutes: t.Function, getUTCMinutes: t.Function, getSeconds: t.Function, getUTCSeconds: t.Function, getMilliseconds: t.Function, getUTCMilliseconds: t.Function, getTimezoneOffset: t.Function, setTime: t.Function, setMilliseconds: t.Function, setUTCMilliseconds: t.Function, setSeconds: t.Function, setUTCSeconds: t.Function, setMinutes: t.Function, setUTCMinutes: t.Function, setHours: t.Function, setUTCHours: t.Function, setDate: t.Function, setUTCDate: t.Function, setMonth: t.Function, setUTCMonth: t.Function, setFullYear: t.Function, setUTCFullYear: t.Function, toUTCString: t.Function, toISOString: t.Function, toJSON: t.Function, getVarDate: t.Function, __@toPrimitive: t.Function})})
Do you have any plans to support Dates?
Metadata
Metadata
Assignees
Labels
No labels