From ac4a5f74b8e56a360e0a0543a6fc45099e13b95a Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 26 Mar 2024 18:52:57 -0400 Subject: feat: TypeScript 5.4 (#23086) Fork PR: https://github.com/denoland/TypeScript/pull/10 Closes #23080 --- cli/build.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cli/build.rs') 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"); -- cgit v1.2.3