mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
4a1a6b7985
This commit fixes "Add all missing imports" quick fix; before it was replacing all occurrences with the same specifier. Now every line returned from TSC is processed individually.
54 lines
967 B
JSON
54 lines
967 B
JSON
{
|
|
"textDocument": {
|
|
"uri": "file:///a/file00.ts"
|
|
},
|
|
"range": {
|
|
"start": {
|
|
"line": 0,
|
|
"character": 0
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"character": 0
|
|
}
|
|
},
|
|
"context": {
|
|
"diagnostics": [
|
|
{
|
|
"range": {
|
|
"start": {
|
|
"line": 0,
|
|
"character": 50
|
|
},
|
|
"end": {
|
|
"line": 0,
|
|
"character": 67
|
|
}
|
|
},
|
|
"severity": 1,
|
|
"code": 2304,
|
|
"source": "deno-ts",
|
|
"message": "Cannot find name 'DuckConfigOptions'."
|
|
},
|
|
{
|
|
"range": {
|
|
"start": {
|
|
"line": 4,
|
|
"character": 39
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"character": 49
|
|
}
|
|
},
|
|
"severity": 1,
|
|
"code": 2304,
|
|
"source": "deno-ts",
|
|
"message": "Cannot find name 'DuckConfig'."
|
|
}
|
|
],
|
|
"only": [
|
|
"quickfix"
|
|
]
|
|
}
|
|
}
|