diff --git a/tests/cases/fourslash/quickInfoOnNarrowedType.ts b/tests/cases/fourslash/quickInfoOnNarrowedType.ts index 53fe1bed232..2c8f4c8e216 100644 --- a/tests/cases/fourslash/quickInfoOnNarrowedType.ts +++ b/tests/cases/fourslash/quickInfoOnNarrowedType.ts @@ -31,8 +31,8 @@ verify.quickInfoIs('(parameter) strOrNum: string'); verify.completionListContains("strOrNum", "(parameter) strOrNum: string"); goTo.marker('4'); -verify.quickInfoIs('let s: undefined'); -verify.completionListContains("s", "let s: undefined"); +verify.quickInfoIs('let s: string | undefined'); +verify.completionListContains("s", "let s: string | undefined"); goTo.marker('5'); verify.quickInfoIs('let s: string | undefined');