mode

Possible values are:

  • 'strip' Only strip type annotations without performing the transformation of TypeScript features.

  • 'transform' Strip type annotations and transform TypeScript features to JavaScript.