mirror of
https://github.com/denoland/deno.git
synced 2024-11-15 16:43:44 -05:00
32 lines
723 B
JSON
32 lines
723 B
JSON
{
|
|
"jsonrpc": "2.0",
|
|
"id": 4,
|
|
"method": "codeAction/resolve",
|
|
"params": {
|
|
"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"
|
|
}
|
|
}
|
|
}
|