jkchao / typescript-book-chinese

TypeScript Deep Dive 中文版
https://jkchao.github.io/typescript-book-chinese/
MIT License
6.53k stars 673 forks source link

Mod: 修改泛型示例代码 #112

Closed Cainankun closed 5 years ago

Cainankun commented 5 years ago

reversed = [1, 2]; // ok 该行将会报'Cannot assign to reversed because it is a constant'。

jkchao commented 5 years ago

👍