Closed digitorum closed 2 years ago
Add Date to BaseTypes to prevent type resolve mismatch.
Date
Argument of type 'string | { toString: () => string; toDateString: () => string; toTimeString: () => string; toLocaleString: { (): string; (locales?: string | string[] | undefined, options?: DateTimeFormatOptions | undefined): string; }; ... 38 more ...; toJSON: (key?: any) => string; }' is not assignable to parameter of type 'string | Date'.```
@antfu what do you think about it?
Add
Date
to BaseTypes to prevent type resolve mismatch.