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
This is conceptually correct, for reasons explained here: #1403 (comment). In other words, never redeclare property types, except if you can subtime them
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or questions.
lockbot
locked as resolved and limited conversation to collaborators
Jan 14, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugConfirmed bugTypescriptIssue related to Typescript typings
Bug report
Sandbox link or minimal reproduction code
https://codesandbox.io/s/cool-neumann-gd521
Describe the expected behavior
When creating
instance
, the propertyitem
should accept string, number, or null.Describe the observed behavior
TS error,
item
only acceptsnull
.The text was updated successfully, but these errors were encountered: