mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 20:51:43 -06:00
Update fourslash test
This commit is contained in:
parent
e12b2a7d27
commit
4fb31acf2f
@ -38,7 +38,19 @@ goTo.marker('3');
|
||||
verify.quickInfoIs('var nonExportedStrOrNum: string');
|
||||
verify.completionListContains("nonExportedStrOrNum", "var nonExportedStrOrNum: string");
|
||||
|
||||
['4', '5', '6', '7', '8', '9'].forEach((marker, index, arr) => {
|
||||
goTo.marker('4');
|
||||
verify.quickInfoIs('var m.exportedStrOrNum: string | number');
|
||||
verify.completionListContains("exportedStrOrNum", "var m.exportedStrOrNum: string | number");
|
||||
|
||||
goTo.marker('5');
|
||||
verify.quickInfoIs('var m.exportedStrOrNum: number');
|
||||
verify.completionListContains("exportedStrOrNum", "var m.exportedStrOrNum: number");
|
||||
|
||||
goTo.marker('6');
|
||||
verify.quickInfoIs('var m.exportedStrOrNum: string');
|
||||
verify.completionListContains("exportedStrOrNum", "var m.exportedStrOrNum: string");
|
||||
|
||||
['7', '8', '9'].forEach((marker, index, arr) => {
|
||||
goTo.marker(marker);
|
||||
verify.quickInfoIs('var m.exportedStrOrNum: string | number');
|
||||
verify.completionListContains("exportedStrOrNum", "var m.exportedStrOrNum: string | number");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user