删除注释

Signed-off-by: bojiang <jiangbo91@huawei.com>
Change-Id: I23e4bdb081bbf558d2f96a406bb933fcaa335125
This commit is contained in:
bojiang
2022-08-08 17:02:24 +08:00
parent cca22e84ce
commit ef92bfd0e4
-1
View File
@@ -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 {