StackBlitz (@stackblitzarrow-up-right) - November 9, 2020 at 11:12 PM
💡 TypeScript tip:
TypeScript infers array's type as an Array of the union of included types... which may not be precise enough.
If you want this value to be inferred as a Tuple instead, add as const pic.twitter.com/mLbG6yXuKXarrow-up-right
as const
https://user-images.githubusercontent.com/870029/208133398-a7d56091-baf8-452a-a452-7f184229a7fb.mp4
Download mp4arrow-up-right
Tweet linkarrow-up-right
Thread by @stackblitz on Threadify Reader Apparrow-up-right
Last updated 3 years ago