TLDR · PROGRAMMING, DESIGN & DATA SCIENCE

EXPERIMENTAL-STRIP-TYPES

github.com6 min read

Summary from the TLDR newsletter

The --experimental-strip-types flag in Node.js makes it possible to execute TypeScript files. While Node.js can transpile TypeScript source code into JavaScript source code, no type checking is performed during the transpilation process and types are discarded. Enum, namespaces, and other features are not supported as no transformations are performed.