Re:TypeScript 3.7
by tmkn13 on Tuesday November 05, 2019 @05:54PM
(#21457670)
Yes there is, you can either use as const or define the type as a tuple:
Both versions will error the same.
[ Parent
| on HN ]
There are no comments on this comment yet.