Initialize more common properties in Symbol constructor

This commit is contained in:
Anders Hejlsberg
2018-02-02 07:48:21 -08:00
parent 2047558daf
commit 06c28ea69b

View File

@@ -2772,6 +2772,10 @@ namespace ts {
this.flags = flags;
this.escapedName = name;
this.declarations = undefined;
this.valueDeclaration = undefined;
this.id = undefined;
this.mergeId = undefined;
this.parent = undefined;
}
function Type(this: Type, checker: TypeChecker, flags: TypeFlags) {