@@ -18,6 +18,7 @@ Semantic Versioning.
18
18
to ` export {... as default}; ` statements.
19
19
* TypeScript support (still experimental):
20
20
* ` export as namespace ` statements are now parsed.
21
+ * Const generic parameters (` <const T> ` ) are now parsed.
21
22
* Assertion signatures (` function f(param): asserts param ` ) are now parsed.
22
23
* If a type predicate appears outside a return type, quick-lint-js now reports
23
24
[ E0426] [ ] ("type predicates are only allowed as function return types").
@@ -29,7 +30,7 @@ Semantic Versioning.
29
30
expression with a function in the falsy branch.)
30
31
* Using ` << ` in an interface's ` extends ` clause, in a class's ` implements `
31
32
clause, or in a ` typeof ` type now reports [ E0429] [ ] instead of misleading
32
- diagnostics.
33
+ diagnostics. (Implemented by [ strager ] [ ] and [ Ariel Don ] [ ] .)
33
34
* Properties in object literal types can now be named with number literals.
34
35
* Repeating ` in ` or ` out ` generic parameter modifiers now reports [ E0432] [ ]
35
36
("'in' or 'out' variance specifier cannot be listed twice").
@@ -69,7 +70,9 @@ Semantic Versioning.
69
70
* ` T extends () => RT ? A : B ` no longer falsely reports [ E0348] [ ] ("invalid
70
71
usage of ? as a prefix or suffix in the a type " expression").
71
72
* ` <T extends /> ` is now correctly parsed as a JSX element.
72
- * ` interface I { get: any } ` no longer reports [ E0054] [ ] ("unexpected token").
73
+ * ` interface I { get: any; } ` (field named ` get ` with a type annotation) no
74
+ longer reports [ E0054] [ ] ("unexpected token"). (Implemented by [ Rui
75
+ Serra] [ ] .)
73
76
74
77
## 2.18.0 (2023-11-03)
75
78
@@ -1224,6 +1227,7 @@ Beta release.
1224
1227
[ mirabellier ] : https://github.com/mirabellierr
1225
1228
[ ooblegork ] : https://github.com/ooblegork
1226
1229
[ pedrobl1718 ] : https://github.com/pedrobl85
1230
+ [ strager ] : https://github.com/strager
1227
1231
[ tiagovla ] : https://github.com/tiagovla
1228
1232
[ toastin0 ] : https://github.com/toastin0
1229
1233
[ wagner riffel ] : https://github.com/wgrr
0 commit comments