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 }}
Repository navigation
Cannot find name and using private name when export a type. #22220
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
Activity
vincentdchan commentedon Feb 28, 2018
The variable
placementswill not be regarded as a type. It's a value. That's why you can not use generic type such asOneOf.vincentdchan commentedon Feb 28, 2018
In this situation, just use:
sheltondong commentedon Feb 28, 2018
But it is still a value when I using primitive array, why should that works?
This is still a value
typescript-bot commentedon Mar 14, 2018
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.