We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://mqyqingfeng.github.io/learn-typescript/handbook/Modules.html#%E6%A8%A1%E5%9D%97-module
在我们开始之前,我们需要先理解 TypeScript 认为什么是一个模块。JavaScript 规范声明任何没有 export 或者顶层 await 的 JavaScript 文件都应该被认为是一个脚本,而非一个模块。
应该是顶层import
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://mqyqingfeng.github.io/learn-typescript/handbook/Modules.html#%E6%A8%A1%E5%9D%97-module
在我们开始之前,我们需要先理解 TypeScript 认为什么是一个模块。JavaScript 规范声明任何没有 export 或者顶层 await 的 JavaScript 文件都应该被认为是一个脚本,而非一个模块。
应该是顶层import
The text was updated successfully, but these errors were encountered: