v3.0.0
Added
-
TypeScript
tsconfigs (tsconfig.base.jsonandtsconfig.composite.json) (RD-1230) (#46)Those tsconfigs can be used as a base in other projects.
-
Typings are included in the bundle (RD-1230) (#46)
This package contains type declarations (
d.ts) for the code in this bundle, both for the frontend part (src) and the backend part.Declaration maps are also included, meaning it is possible to jump straight to the source code instead of the typings file when going to the symbol definition.
-
A new
eslint-ts-overrides.jsonESLint config, which overrides some existing ESLint rules to support/deduplicate TypeScript features (e.g.no-unused-vars) (RD-1230) (#46)This ESLint config should be specified as the last item in the
extendsarray in your ESLint config.
Changed
-
(BREAKING) ESLint configs use
@typescript-eslint/parserand@typescript-eslint/eslint-pluginin order to handle TypeScript. Those packages are now required as peer dependencies. (RD-1230) (#46)In addition, ESLint understands new EcmaScript features, such as optional chaining (
a?.b) and nullish coalescing (a ?? b) -
Internal build system/tooling changes to handle TypeScript (jest, babel, rollup) (RD-1230) (#46)
-
Improved unminified build bundle size by around 0.5 kB (~8%) (RD-1230) (#46)