← All repositories

microsoftTypeScript

107,866 stars13,231 forksTypeScriptapache-2.01 view
www.typescriptlang.org

TypeScript

Features

  • Conditional TypesType-level decision making that selects between two possible types based on whether a type satisfies a given constraint.
  • Partial Type ConstructionA utility type that constructs a new type with all properties of the original type set to optional.
  • Abstract ClassesBase classes that require implementation of specific members and prevent direct instantiation of the base class itself.
  • Declaration FilesGuidelines for understanding library structures and authoring appropriate type-definition files based on the underlying library format.
  • Build Management UtilitiesTools for managing incremental builds, cleaning output directories, performing dry runs, and enabling verbose compilation logging.