Replies: 1 comment 1 reply
-
Thanks for your suggestion. My workaround has been I think adding one more type overload should fix. Would you like to open a PR? On the other hand, the rationale behind the current design decision is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Actual
With
in VSCode I get
Instead, as workaround with
in ESLint I get
error Do not use useless `undefined` unicorn/no-useless-undefined
Expected
No Error in VSCode with
because Atom definition should already use
undefined
as default valueRelated example (React)
Beta Was this translation helpful? Give feedback.
All reactions