Commit 97f1c74
Check for type parameters on original type when getting type argument completions (microsoft#46614)
* Add failing test.
* Check for type parameters on the original type when asking for the type argument constraint.
* Update tests/cases/fourslash/stringLiteralTypeCompletionsInTypeArgForNonGeneric1.ts1 parent 4cdb251 commit 97f1c74
File tree
2 files changed
+12
-1
lines changed- src/compiler
- tests/cases/fourslash
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34729 | 34729 | | |
34730 | 34730 | | |
34731 | 34731 | | |
34732 | | - | |
| 34732 | + | |
| 34733 | + | |
34733 | 34734 | | |
34734 | 34735 | | |
34735 | 34736 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments