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
My compilation target is whatever and my lib is the default.
Missing / Incorrect Definition
Array.isArray()
Sample Code
functionparseUnknown(value: unknown): Whatever{if(Array.isArray(value){// value is suddenly `any[]` even though I've only confirmed that it's an array}}
I might be missing other usecases, but seems like Array.isArray typing should be smarter than just is any[]