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
原文中描述:当然 default import 和 namespace import 取 id 的方式不一样,需要分别处理下。
if (specifierPath.isImportSpecifier()) { state.trackerImportId = specifierPath.toString(); } else if(specifierPath.isImportNamespaceSpecifier()) { state.trackerImportId = specifierPath.get('local').toString(); }
isImportSpecifier 应该修改为 isImportDefaultSpecifier
The text was updated successfully, but these errors were encountered:
No branches or pull requests
对应小册第 16 节, isImportSpecifier 应该修改为 isImportDefaultSpecifier
原文中描述:当然 default import 和 namespace import 取 id 的方式不一样,需要分别处理下。
isImportSpecifier 应该修改为 isImportDefaultSpecifier
The text was updated successfully, but these errors were encountered: