From bbefceddb97c2eb7d8cd191dc15f3dc23ed5f6de Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sat, 29 May 2021 21:21:11 +1000 Subject: fix(#10765): lsp import fixes include extensions (#10778) Fixes #10765 --- cli/lsp/tsc.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cli/lsp/tsc.rs') diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 27b3bca0d..00be3e50b 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -934,8 +934,8 @@ impl DocumentHighlights { #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct TextChange { - span: TextSpan, - new_text: String, + pub span: TextSpan, + pub new_text: String, } impl TextChange { @@ -953,10 +953,10 @@ impl TextChange { #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct FileTextChanges { - file_name: String, - text_changes: Vec, + pub file_name: String, + pub text_changes: Vec, #[serde(skip_serializing_if = "Option::is_none")] - is_new_file: Option, + pub is_new_file: Option, } impl FileTextChanges { -- cgit v1.2.3