Viewing profile — tmkn13
tmkn13
HN member- Joined
- Mon, Oct 22, 2018, 8:10 PM UTC
- HN karma
- 4
- Public activity
- 1 items
- HN profile
- View on Hacker News ↗
About tmkn13
No profile information was provided.
Recent public activity
-
comment
Comment #21457670
Yes there is, you can either use as const or define the type as a tuple: const x = [1,2] as const; //const x: [number, number] = [1,2]; const y = x[666];//Tuple type 'readonly [1, …