feat: TypeScript 5.0.2 (except decorators) (#18294)

This upgrades TypeScript to 5.0.2, but does not have ES decorator
support because swc does not support that yet.
This commit is contained in:
David Sherret 2023-03-21 11:46:40 -04:00 committed by GitHub
parent 0366d6833f
commit 2fcf1f14cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
111 changed files with 173492 additions and 178485 deletions

View file

@ -638,7 +638,7 @@ impl Inner {
fn is_diagnosable(&self, specifier: &ModuleSpecifier) -> bool {
if specifier.scheme() == "asset" {
matches!(
MediaType::from(specifier),
MediaType::from_specifier(specifier),
MediaType::JavaScript
| MediaType::Jsx
| MediaType::Mjs