From 73e89844bab930f2a2821b059743faed8372ed14 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 20 Sep 2022 07:00:01 +1000 Subject: feat(cli): update to TypeScript 4.8 (#15064) --- .../testdata/lsp/code_action_response_imports.json | 120 --------------------- 1 file changed, 120 deletions(-) (limited to 'cli/tests/testdata/lsp/code_action_response_imports.json') diff --git a/cli/tests/testdata/lsp/code_action_response_imports.json b/cli/tests/testdata/lsp/code_action_response_imports.json index cb1de6d77..4bbbb9c75 100644 --- a/cli/tests/testdata/lsp/code_action_response_imports.json +++ b/cli/tests/testdata/lsp/code_action_response_imports.json @@ -72,53 +72,6 @@ "fixId": "fixMissingImport" } }, - { - "title": "Add missing function declaration 'abc'", - "kind": "quickfix", - "diagnostics": [ - { - "range": { - "start": { - "line": 1, - "character": 12 - }, - "end": { - "line": 1, - "character": 15 - } - }, - "severity": 1, - "code": 2304, - "source": "deno-ts", - "message": "Cannot find name 'abc'." - } - ], - "edit": { - "documentChanges": [ - { - "textDocument": { - "uri": "file:///a/file01.ts", - "version": 1 - }, - "edits": [ - { - "range": { - "start": { - "line": 3, - "character": 0 - }, - "end": { - "line": 3, - "character": 0 - } - }, - "newText": "\nfunction abc(abc: any) {\nthrow new Error(\"Function not implemented.\");\n}\n" - } - ] - } - ] - } - }, { "title": "Add import from \"./file00.ts\"", "kind": "quickfix", @@ -165,78 +118,5 @@ } ] } - }, - { - "title": "Add missing function declaration 'def'", - "kind": "quickfix", - "diagnostics": [ - { - "range": { - "start": { - "line": 2, - "character": 12 - }, - "end": { - "line": 2, - "character": 15 - } - }, - "severity": 1, - "code": 2304, - "source": "deno-ts", - "message": "Cannot find name 'def'." - } - ], - "edit": { - "documentChanges": [ - { - "textDocument": { - "uri": "file:///a/file01.ts", - "version": 1 - }, - "edits": [ - { - "range": { - "start": { - "line": 3, - "character": 0 - }, - "end": { - "line": 3, - "character": 0 - } - }, - "newText": "\nfunction def(def: any) {\nthrow new Error(\"Function not implemented.\");\n}\n" - } - ] - } - ] - } - }, - { - "title": "Add all missing function declarations", - "kind": "quickfix", - "diagnostics": [ - { - "range": { - "start": { - "line": 1, - "character": 12 - }, - "end": { - "line": 1, - "character": 15 - } - }, - "severity": 1, - "code": 2304, - "source": "deno-ts", - "message": "Cannot find name 'abc'." - } - ], - "data": { - "specifier": "file:///a/file01.ts", - "fixId": "fixMissingFunctionDeclaration" - } } ] -- cgit v1.2.3