mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 16:43:34 -04:00
删除注释 Signed-off-by: bojiang <jiangbo91@huawei.com> Change-Id: I23e4bdb081bbf558d2f96a406bb933fcaa335125
This commit is contained in:
@@ -698,7 +698,6 @@ export function isSimpleType(typeNode: ts.TypeNode, program: ts.Program, log?: L
|
||||
let referenceType: boolean = false;
|
||||
for (let i = 0; i < types.length; i++) {
|
||||
const enumType: ts.SyntaxKind = getEnumType(types[i], checker);
|
||||
// if (!simpleTypes.has(enumType || types[i].kind) && !isEnumtype(typeNode)) {
|
||||
if (simpleTypes.has(enumType || types[i].kind) || isEnumtype(typeNode)) {
|
||||
basicType = true;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user