PR Close #22975
This commit is contained in:
Veres Lajos
2018-03-10 17:14:58 +00:00
committed by Matias Niemelä
parent f739f756ce
commit de90314304
62 changed files with 112 additions and 108 deletions

View File

@ -468,7 +468,7 @@ export class Evaluator {
if (!isMetadataModuleReferenceExpression(typeReference) &&
typeReferenceNode.typeArguments && typeReferenceNode.typeArguments.length) {
const args = typeReferenceNode.typeArguments.map(element => this.evaluateNode(element));
// TODO: Remove typecast when upgraded to 2.0 as it will be corretly inferred.
// TODO: Remove typecast when upgraded to 2.0 as it will be correctly inferred.
// Some versions of 1.9 do not infer this correctly.
(<MetadataImportedSymbolReferenceExpression>typeReference).arguments = args;
}