typescript-book-chinese
typescript-book-chinese copied to clipboard
修复示例代码错误
trafficstars
示例代码在 playground 中无法通过类型检查
https://github.com/basarat/typescript-book/pull/318
原书作者应该是举的一个反例,即下文中的「但这并不意味着你可以使用 TypeScript 类来实现它们。」