- The process of removing TypeScript type annotations, interfaces, and other type-related syntax from TypeScript code to produce plain JavaScript that can be executed by JavaScript engines. The transformation preserves the runtime behavior of the code while removing constructs such as interface declarations, generic parameters, and type annotations; type assertions such as
asmay be handled differently depending on the tool. Type-stripping is distinct from full compilation as it focuses solely on syntax removal rather than code transformation or optimization.
This term is sponsored by: your name/company?
- Previous term: Type system
- Next term: TypeDoc
- Random term: ECMAScript modules (webglossary.info/random 🎲)