learn-typescript
learn-typescript copied to clipboard
可能是中国最好的 TypeScript 从入门到进阶系统教程
Results
4
learn-typescript issues
Sort by
recently updated
recently updated
newest added
https://mqyqingfeng.github.io/learn-typescript/handbook/Modules.html#%E6%A8%A1%E5%9D%97-module 在我们开始之前,我们需要先理解 TypeScript 认为什么是一个模块。JavaScript 规范声明任何没有 export 或者顶层 await 的 JavaScript 文件都应该被认为是一个脚本,而非一个模块。 应该是顶层import