diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-26 18:52:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 18:52:57 -0400 |
commit | ac4a5f74b8e56a360e0a0543a6fc45099e13b95a (patch) | |
tree | 463796fb830eae41fc039512bb1ce79919195735 /cli/build.rs | |
parent | 6b95c53e48a2622f4f2b6fdfa6c2c26dc30bbba4 (diff) |
feat: TypeScript 5.4 (#23086)
Fork PR: https://github.com/denoland/TypeScript/pull/10
Closes #23080
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/build.rs b/cli/build.rs index dee5b5923..482748d58 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -189,6 +189,7 @@ mod ts { "es2015.symbol", "es2015.symbol.wellknown", "es2016.array.include", + "es2016.intl", "es2016", "es2017", "es2017.date", @@ -236,10 +237,12 @@ mod ts { "es2023.collection", "esnext", "esnext.array", + "esnext.collection", "esnext.decorators", "esnext.disposable", "esnext.intl", "esnext.object", + "esnext.promise", ]; let path_dts = cwd.join("tsc/dts"); @@ -449,7 +452,7 @@ fn main() { ); let ts_version = ts::version(); - debug_assert_eq!(ts_version, "5.3.3"); // bump this assertion when it changes + debug_assert_eq!(ts_version, "5.4.3"); // bump this assertion when it changes println!("cargo:rustc-env=TS_VERSION={}", ts_version); println!("cargo:rerun-if-env-changed=TS_VERSION"); |