TypeScript 4.1 RC released, string template type implementation

The RC version of TypeScript 4.1 has been released, which has many new features previously announced.

The main updates include:

  • Introduce string template type
  • Add key remapping to the mapping type
  • Allow recursive condition types
  • Added check index access functionnoUncheckedIndexedAccess
  • It is not necessary to specify baseUrl when using path to enable path mapping
  • checkJs now means allowJs by default, no longer need to set checkJs and allowJs at the same time
  • Support React 17's jsx and jsxdev functions
  • ……

For more information, please see: official update announcement

Guess you like

Origin www.oschina.net/news/119690/typescript-4-1-rc-released