From 7fc5bfe51b7d405aaa5293ec6f1a8f1e9119aea2 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Wed, 2 Mar 2022 07:44:43 +1100 Subject: feat(cli): update to TypeScript 4.6.2 (#13474) --- .../testdata/lsp/code_action_response_refactor.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'cli/tests/testdata/lsp/code_action_response_refactor.json') diff --git a/cli/tests/testdata/lsp/code_action_response_refactor.json b/cli/tests/testdata/lsp/code_action_response_refactor.json index a9fbd2827..c2797812e 100644 --- a/cli/tests/testdata/lsp/code_action_response_refactor.json +++ b/cli/tests/testdata/lsp/code_action_response_refactor.json @@ -129,8 +129,8 @@ } }, { - "title": "Convert named imports to namespace import", - "kind": "refactor.rewrite.import.namespace", + "title": "Convert named imports to default import", + "kind": "refactor.rewrite.import.default", "isPreferred": false, "disabled": { "reason": "Selection is not an import declaration." @@ -148,15 +148,15 @@ } }, "refactorName": "Convert import", - "actionName": "Convert named imports to namespace import" + "actionName": "Convert named imports to default import" } }, { - "title": "Convert to optional chain expression", - "kind": "refactor.rewrite.expression.optionalChain", + "title": "Convert named imports to namespace import", + "kind": "refactor.rewrite.import.namespace", "isPreferred": false, "disabled": { - "reason": "Could not find convertible access expression" + "reason": "Selection is not an import declaration." }, "data": { "specifier": "file:///a/file.ts", @@ -170,8 +170,8 @@ "character": 0 } }, - "refactorName": "Convert to optional chain expression", - "actionName": "Convert to optional chain expression" + "refactorName": "Convert import", + "actionName": "Convert named imports to namespace import" } } ] -- cgit v1.2.3