15722e6b64
* Remove referenceGroups/noReferences from fourslash
I left most singleReferenceGroups because there were so many, and my current
PR doesn't affect many of them.
* update fourslash/server too
* Explicitly sort keys
Needed for node 10 compatibility
* Revert "Explicitly sort keys"
This reverts commit 1d1c58a4e3
.
It shouldn't be needed now that we're not testing with node 10
65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
// === /referencesForGlobals_1.ts ===
|
|
// class [|globalClass|] {
|
|
// public f() { }
|
|
// }
|
|
|
|
// === /referencesForGlobals_2.ts ===
|
|
// var c = /*FIND ALL REFS*/[|globalClass|]();
|
|
|
|
[
|
|
{
|
|
"definition": {
|
|
"containerKind": "",
|
|
"containerName": "",
|
|
"fileName": "/referencesForGlobals_1.ts",
|
|
"kind": "class",
|
|
"name": "class globalClass",
|
|
"textSpan": {
|
|
"start": 6,
|
|
"length": 11
|
|
},
|
|
"displayParts": [
|
|
{
|
|
"text": "class",
|
|
"kind": "keyword"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"kind": "space"
|
|
},
|
|
{
|
|
"text": "globalClass",
|
|
"kind": "className"
|
|
}
|
|
],
|
|
"contextSpan": {
|
|
"start": 0,
|
|
"length": 40
|
|
}
|
|
},
|
|
"references": [
|
|
{
|
|
"textSpan": {
|
|
"start": 6,
|
|
"length": 11
|
|
},
|
|
"fileName": "/referencesForGlobals_1.ts",
|
|
"contextSpan": {
|
|
"start": 0,
|
|
"length": 40
|
|
},
|
|
"isWriteAccess": true,
|
|
"isDefinition": true
|
|
},
|
|
{
|
|
"textSpan": {
|
|
"start": 8,
|
|
"length": 11
|
|
},
|
|
"fileName": "/referencesForGlobals_2.ts",
|
|
"isWriteAccess": false,
|
|
"isDefinition": false
|
|
}
|
|
]
|
|
}
|
|
] |