mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 10:07:54 -05:00
27 lines
590 B
JSON
27 lines
590 B
JSON
{
|
|
"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"
|
|
}
|
|
}
|