From 0ec151b8cb2a92bb1765672fa15de23e6c8842d4 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 1 Nov 2021 16:22:27 -0400 Subject: chore: upgrade deno_ast to 0.5.0 (#12595) --- cli/lsp/documents.rs | 1 + cli/lsp/language_server.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'cli/lsp') diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs index 640a48f14..81f978be1 100644 --- a/cli/lsp/documents.rs +++ b/cli/lsp/documents.rs @@ -250,6 +250,7 @@ impl Document { fn is_diagnosable(&self) -> bool { matches!( self.media_type(), + // todo(#12410): Update with new media types for TS 4.5 MediaType::JavaScript | MediaType::Jsx | MediaType::TypeScript diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs index b56093c7b..0deac879f 100644 --- a/cli/lsp/language_server.rs +++ b/cli/lsp/language_server.rs @@ -327,6 +327,7 @@ impl Inner { if specifier.scheme() == "asset" { matches!( MediaType::from(specifier), + // todo(#12410): Update with new media types for TS 4.5 MediaType::JavaScript | MediaType::Jsx | MediaType::TypeScript -- cgit v1.2.3