diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 159aedabbf228..ea8027a53aa56 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -2450,10 +2450,8 @@ export function isPartOfTypeNode(node: Node): boolean { return node === (parent as TypeAssertion).type; case SyntaxKind.CallExpression: case SyntaxKind.NewExpression: - return contains((parent as CallExpression).typeArguments, node); case SyntaxKind.TaggedTemplateExpression: - // TODO (drosen): TaggedTemplateExpressions may eventually support type arguments. - return false; + return contains((parent as CallExpression | TaggedTemplateExpression).typeArguments, node); } } }