fix(49178): check expression with type arguments in inlay hints (#49179)

This commit is contained in:
Oleksandr T
2022-06-01 01:22:16 +03:00
committed by GitHub
parent a5b1f95c23
commit 3da165e3df
2 changed files with 26 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ namespace ts.InlayHints {
return;
}
if (isTypeNode(node)) {
if (isTypeNode(node) && !isExpressionWithTypeArguments(node)) {
return;
}