mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
1 parent
356622c8e9
commit
dbcb6dc01e
3 files changed
+27
-1
No files matched your search
@@ -0,0 +1,12 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
////var [|x|] = 10;
|
||||
////var y = `${ [|x|] } ${ [|x|] }`
|
||||
|
||||
test.ranges().forEach(targetRange => {
|
||||
goTo.position(targetRange.start);
|
||||
|
||||
test.ranges().forEach(range => {
|
||||
verify.referencesAtPositionContains(range);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
////function [|f|](...rest: any[]) { }
|
||||
////[|f|] `${ [|f|] } ${ [|f|] }`
|
||||
|
||||
test.ranges().forEach(targetRange => {
|
||||
goTo.position(targetRange.start);
|
||||
|
||||
test.ranges().forEach(range => {
|
||||
verify.referencesAtPositionContains(range);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user