Skip to content

Commit 3ae3525

Browse files
committed
fix #3990: add credit for the es2024 change
1 parent 88977cc commit 3ae3525

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,19 @@
44

55
* Allow `es2024` as a target in `tsconfig.json` ([#4004](https://github.com/evanw/esbuild/issues/4004))
66

7-
TypeScript recently [added `es2024`](https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/#support-for---target-es2024-and---lib-es2024) as a compilation target, so esbuild now supports this in the `target` field of `tsconfig.json` files. As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields (you can read more in [the documentation](https://esbuild.github.io/content-types/#tsconfig-json)).
7+
TypeScript recently [added `es2024`](https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/#support-for---target-es2024-and---lib-es2024) as a compilation target, so esbuild now supports this in the `target` field of `tsconfig.json` files, such as in the following configuration file:
8+
9+
```json
10+
{
11+
"compilerOptions": {
12+
"target": "ES2024"
13+
}
14+
}
15+
```
16+
17+
As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in [the documentation](https://esbuild.github.io/content-types/#tsconfig-json).
18+
19+
This fix was contributed by [@billyjanitsch](https://github.com/billyjanitsch).
820

921
* Allow automatic semicolon insertion after `get`/`set`
1022

0 commit comments

Comments
 (0)