Skip to main content

TRANSFORM_COUNT

Static TRANSFORM_COUNT 

Source
static TRANSFORM_COUNT: AtomicUsize
Expand description

Transform a parsed AST from TypeScript to JavaScript

§Arguments

  • allocator - The allocator used for the AST
  • program - The parsed program AST (mutable)
  • source_path - The source file path
  • source_type - The source type (TypeScript, JSX, etc.)
  • config - Transformer configuration options

§Returns

Result containing transformation errors if any