提交 1fba29c0 编写于 作者: F fupengfei001

fupengfei6@huawei.com

Signed-off-by: Nfupengfei001 <fupengfei6@huawei.com>
上级 eecf4719
......@@ -68,6 +68,9 @@ export function getImportDeclaration(node: Node, sourceFile: SourceFile): Import
const importClause = importNode.importClause;
if (importClause !== undefined) {
importElements = sourceFile.text.substring(importClause.pos, importClause.end).trimStart().trimEnd();
if (importElements.startsWith('type ')) {
importElements = importElements.replace('type ', '');
}
}
return {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册