forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick PR microsoft#54656 into release-5.1
Component commits: 1d77caa fix: no variable suggestions without semicolon 9c87f3a tests! f67c9a3 lint 862807b make sure parameter takes priority 4c2bcc9 better formatting
- Loading branch information
1 parent
e6ceba0
commit 3431eca
Showing
2 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
///<reference path="fourslash.ts" /> | ||
|
||
////const c = "s"; | ||
/////**/ | ||
/////*1*/ | ||
////const d = 1 | ||
////d/*2*/ | ||
////const e = 1 | ||
/////*3*/ | ||
|
||
verify.completions({ marker: "", includes: { name: "c", text: 'const c: "s"', kind: "const" } }); | ||
verify.completions({ marker: ["1"], includes: { name: "c", text: 'const c: "s"', kind: "const" } }); | ||
verify.completions({ marker: ["2"], includes: { name: "d", text: 'const d: 1', kind: "const" } }); | ||
verify.completions({ marker: ["3"], includes: { name: "e", text: 'const e: 1', kind: "const" } }); |