Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

digitorum
Copy link
Contributor

Add Date to BaseTypes to prevent type resolve mismatch.

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'.```

Add `Date` to BaseTypes
@digitorum
Copy link
Contributor Author

@antfu what do you think about it?

@antfu antfu changed the title Update ref.ts fix(types): add Date to BaseTypes Aug 10, 2022
@antfu antfu merged commit c3f4e91 into vuejs:main Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants