mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 00:29:09 -05:00
ef5f8cd265
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"
|
|
]
|
|
}
|
|
}
|