tsz-common 0.1.9

Common types and utilities for the tsz TypeScript compiler
Documentation

Common types and utilities for the tsz TypeScript compiler.

This crate provides foundational types used across all tsz crates:

  • String interning (Atom, Interner, ShardedInterner)
  • Common enums (ModuleKind, NewLineKind, ScriptTarget)
  • Source spans (Span, Spanned, SpanBuilder, ByteSpan)
  • Compiler limits and thresholds
  • Position/Range types for source locations
  • Source map generation
  • Comment parsing utilities