You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+17
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,22 @@
1
1
# Changelog
2
2
3
+
## Unreleased
4
+
5
+
* Allow automatic semicolon insertion after `get`/`set`
6
+
7
+
This change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:
8
+
9
+
```ts
10
+
classFoo {
11
+
get
12
+
*x() {}
13
+
set
14
+
*y() {}
15
+
}
16
+
```
17
+
18
+
Theabovecodewillbeconsideredvalidstartingwiththisrelease. Thischangetoesbuildfollowsa [similarchangetoTypeScript](https://github.com/microsoft/TypeScript/pull/60225) which will allow this syntax starting with TypeScript 5.7.
19
+
3
20
## 0.24.0
4
21
5
22
**_Thisreleasedeliberatelycontainsbackwards-incompatiblechanges._**Toavoidautomaticallypickingupreleaseslikethis, youshouldeitherbepinningtheexactversionof`esbuild`inyour`package.json`file (recommended) orbeusingaversionrangesyntaxthatonlyacceptspatchupgradessuchas`^0.23.0`or`~0.23.0`. Seenpm's documentation about [semver](https://docs.npmjs.com/cli/v6/using-npm/semver/) for more information.
0 commit comments