翻译的太水
Author: free2030Created Aug 1, 2019Updated Aug 22, 2022
How you write TypeScript modules is also a bit of a mess. Again here is how not to do it today: import foo = require('foo'). i.e. import/require. Use ES module syntax instead.
翻译成了:
怎么书写 TypeScript 模块,这也是一件让人困惑的事。在今天我们应该这么做: import foo = require('foo') 例如: import/require 使用 ES 模块语法。
各位看看有没有问题
Source: jkchao/typescript-book-chinese