We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adc8608 commit dbfe80bCopy full SHA for dbfe80b
tests/cases/fourslash/quickInfoOnNarrowedType.ts
@@ -31,8 +31,8 @@ verify.quickInfoIs('(parameter) strOrNum: string');
31
verify.completionListContains("strOrNum", "(parameter) strOrNum: string");
32
33
goTo.marker('4');
34
-verify.quickInfoIs('let s: undefined');
35
-verify.completionListContains("s", "let s: undefined");
+verify.quickInfoIs('let s: string | undefined');
+verify.completionListContains("s", "let s: string | undefined");
36
37
goTo.marker('5');
38
verify.quickInfoIs('let s: string | undefined');
0 commit comments