summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/lsp/code_action_resolve_params.json
blob: 50c1f9a43b7f70c59099e47eab1172fb47b395d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  "title": "Add all missing 'async' modifiers",
  "kind": "quickfix",
  "diagnostics": [
    {
      "range": {
        "start": {
          "line": 1,
          "character": 2
        },
        "end": {
          "line": 1,
          "character": 7
        }
      },
      "severity": 1,
      "code": 1308,
      "source": "deno-ts",
      "message": "'await' expressions are only allowed within async functions and at the top levels of modules.",
      "relatedInformation": []
    }
  ],
  "data": {
    "specifier": "file:///a/file.ts",
    "fixId": "fixAwaitInSyncFunction"
  }
}