Open xiaojingzhao opened 5 years ago
https://github.com/Microsoft/TypeScript/issues/28894#issuecomment-445370682 according to that comment tuples is now fixed length
Microsoft/TypeScript#28894 (comment) according to that comment tuples is now fixed length
Copy~thanks
https://github.com/Microsoft/TypeScript-Handbook/pull/998
I've created this pr, hope can fix it.
On http://www.typescriptlang.org/docs/handbook/basic-types.html , It said
However, when I tested this example locally, both
tsc
anddeno
threw an error:Here is the example: