Changelog
3.25.0 (2022-08-01)
module: nodenext
option from
TypeScript 4.7:
imports
transform, the new flag preserveDynamicImport
will leave dynamic import()
calls alone rather than compiling them to
promise-wrapped require
. This makes it possible to load ESM modules from
CommonJS. ([#727])imports
transform, the new flag injectCreateRequireForImportRequire
will compile import foo = require("foo");
to use createRequire
so that
can work in a Node ES module. ([#728])disableESTransforms
is enabled, remove abstract
fields in the same
way that declare
fields are removed. This matches TypeScript's behavior. ([#732])Changelog
3.24.0 (2022-07-14)
const NumberSet = Set<number>;
extends
on infer
: T extends [infer S extends string, ...unknown[]] ? S : never;
type Getter<out T> = () => T;
accessor
keyword in ES decorators. ([#716])a as b ?? c
([#721])const a: Array<number>=[];
([#717])f<<T>() => void>()
([#716])Changelog
3.23.0 (2022-07-01)
Changelog
3.22.0 (2022-06-27)
Changelog
3.21.1 (2022-06-21)
Changelog
3.21.0 (2022-04-06)
Changelog
3.20.3 (2021-10-18)
true
, false
, and null
as TS enum keys. ([#656], [#657]) (pushkine, Alan Pierce)Changelog
3.20.2 (2021-10-07)
Changelog
3.20.1 (2021-08-09)
Changelog
3.20.0 (2021-07-07)