You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... can cause friction when using the TypeScript exactOptionalPropertyTypes compiler option, since under that configuration, undefined is not a valid value to be passed into include or exclude. Would it break anything to widen the type to the following?:
Environment
Reproduction
https://stackblitz.com/edit/vitejs-vite-lovdzaug?file=unplugin-foo.ts
Describe the bug
Definitions like:
... can cause friction when using the TypeScript
exactOptionalPropertyTypes
compiler option, since under that configuration,undefined
is not a valid value to be passed intoinclude
orexclude
. Would it break anything to widen the type to the following?:Additional information
The text was updated successfully, but these errors were encountered: