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
Check sandbox link provided in minimal reproduction field and run npm run type-check in terminal:
What is expected?
Expected that the type-check action returns no error in buggedComponent.vue that is
the type of optionalProperty in anyProperty assignation detects as string because all conditions that may detect and prevent undefined type are passed:
What is actually happening?
typescript compiler detects type of the optionalProperty in anyProperty assign condition as string|undefined
System Info
No response
Any additional comments?
If you dont want to check the reproduction link, there are some photos that describes the problem: