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
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
the rule should be enforced on type definitions rather than on consumed types, so you wouldn’t be able to define types with the union, but could still consume types that have defined the union already. That way you can trend towards the right direction without encouraging the disabling of this rule due to external types
The text was updated successfully, but these errors were encountered:
@VincentLanglet if you want to allow that then it seems like you should just disable the rule altogether. It is a relatively strict style choice, definitely not for everyone
especially as it pertains to React render functions,
null | undefined
is sometimes unavoidable when dealing with external type definitions.from @styu:
The text was updated successfully, but these errors were encountered: