diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-09-09 14:03:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 15:03:21 -0400 |
commit | c228adc27d5b605286d3a9ca924e657308aebb74 (patch) | |
tree | fdc0e814bdaeceb231565ee8e0324c7447c39212 /cli/build.rs | |
parent | f75a17521df053218c0c2b5fb93c5354f9c8f274 (diff) |
feat: TypeScript 5.2 (#20425)
Without `using` declarations or decorator metadata (waiting for that in
v8).
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/build.rs b/cli/build.rs index 679952726..edefd3c49 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -170,6 +170,7 @@ mod ts { "es2016.array.include", "es2016", "es2017", + "es2017.date", "es2017.intl", "es2017.object", "es2017.sharedmemory", @@ -211,8 +212,11 @@ mod ts { "es2022.string", "es2023", "es2023.array", + "es2023.collection", "esnext", "esnext.array", + "esnext.decorators", + "esnext.disposable", "esnext.intl", ]; @@ -459,7 +463,7 @@ fn main() { ); let ts_version = ts::version(); - debug_assert_eq!(ts_version, "5.1.6"); // bump this assertion when it changes + debug_assert_eq!(ts_version, "5.2.2"); // bump this assertion when it changes println!("cargo:rustc-env=TS_VERSION={}", ts_version); println!("cargo:rerun-if-env-changed=TS_VERSION"); |