SuperAPI AI Directory

typescript

Coding & development

View repository

Updated 11-04 18:33

About this skill

TypeScript

Target versions

  • tsc itself: TypeScript 7.0.2 (npm latest, 2026-07-08, native port written in Go). Original is the tag in microsoft/typescript-go typescript/v7.0.2 の README.md / CHANGES.md and the official blog Announcing TypeScript 7.0
  • Language, handbook, TSConfig reference: TypeScript 6.0 content (site built with typescript@6.0.2). Commit of microsoft/TypeScript-Website 04569788cf46f97e2f16356639bc9635c88c0a61(v2 branch, SHA pin because there is no docs tag, retrieved 2026-10-16)
  • Type and error behavior: 6.0 = 7.0 (typescript-go README)
  • 7.1 (next, new API) is not included

Directory structure

skills/typescript/
  SKILL.md
  references/
    handbook/
      README.md
      basics.md
      everyday-types.md
      narrowing.md
      more-on-functions.md
      object-types.md
      classes.md
      modules.md
      type-declarations.md
      understanding-errors.md
    type-manipulation/
      README.md
      creating-types-from-types.md
      generics.md
      keyof-type-operator.md
      typeof-type-operator.md
      indexed-access-types.md
      conditional-types.md
      mapped-types.md
      template-literal-types.md
      utility-types.md
    reference/
      README.md
      advanced-types.md
      declaration-merging.md
      decorators.md
      enums.md
      iterators-and-generators.md
      jsx.md
      mixins.md
      namespaces.md
      namespaces-and-modules.md
      symbols.md
      triple-slash-directives.md
      type-compatibility.md
      type-inference.md
      variable-declarations.md
    modules/
      README.md
      introduction.md
      theory.md
      module-syntax.md
      module-option.md
      module-resolution-option.md
      esm-cjs-interop.md
      choosing-compiler-options.md
    declaration-files/
      README.md
      introduction.md
      by-example.md
      library-structures.md
      dos-and-donts.md
      deep-dive.md
      consumption.md
      publishing.md
      templates.md
      template-global.md
      template-global-modifying-module.md
      template-global-plugin.md
      template-module.md
      template-module-class.md
      template-module-function.md
      template-module-plugin.md
    javascript/
      README.md
      intro-to-js-with-ts.md
      type-checking-javascript-files.md
      jsdoc-types.md
      jsdoc-classes.md
      jsdoc-documentation-and-other.md
      creating-dts-from-js.md
    tsconfig/
      README.md
      top-level.md
      type-checking.md
      modules.md
      emit.md
      javascript-support.md
      editor-support.md
      interop-constraints.md
      backwards-compatibility.md
      language-and-environment.md
      compiler-diagnostics.md
      projects.md
      output-formatting.md
      completeness.md
      watch-options.md
      type-acquisition.md
    project-config/
      README.md
      tsconfig-json.md
      compiler-options-cli.md
      compiler-options-in-msbuild.md
      configuring-watch.md
      integrating-with-build-tools.md
      project-references.md
    versions/
      README.md
      typescript-5-0.md
      typescript-5-1.md
      typescript-5-2.md
      typescript-5-3.md
      typescript-5-4.md
      typescript-5-5.md
      typescript-5-6.md
      typescript-5-7.md
      typescript-5-8.md
      typescript-5-9.md
      typescript-6-0.md
      typescript-6-0-deprecations.md
      typescript-7-0.md
  samples/
    README.md
    babel-with-typescript.md
    dom-manipulation.md
    migrating-from-javascript.md
    side-by-side-typescript-6-and-7.md
    ts-for-functional-programmers.md
    ts-for-js-programmers.md
    ts-for-oop-programmers.md
    typescript-tooling-in-5-minutes.md
  scripts/
    README.md
    install.md
    nightly-builds.md
    parallelism-ts7.md
    tsc-build.md
    tsc-cli.md

Lookup procedure

Derive the category from the task, and identify the target page in the category's README.md:

  1. Find the category corresponding to the task in the mapping table below
  2. Refer to that category's references/<category>/README.md to identify the target page
  3. Read the target page's .md to check the details

Task → Category mapping

Task Category Reference README
Want to know about basic types, functions, classes, object types, and narrowing handbook references/handbook/README.md
Want to use generics, conditional / mapped / template literal types, and utility types type-manipulation references/type-manipulation/README.md
Want to look up enums, decorators, declaration merging, JSX, mixins, and type compatibility reference references/reference/README.md
Want to know how to choose ESM / CJS and module / moduleResolution modules references/modules/README.md
Want to know how to write and publish .d.ts and how to use type packages declaration-files references/declaration-files/README.md
Want to type-check JS files, use JSDoc annotations, and generate .d.ts javascript references/javascript/README.md
Want to look up compilerOptions (strict, target, outDir, paths, etc.) tsconfig references/tsconfig/README.md
Want to configure tsconfig.json structure, project references, watch, and build tool integration project-config references/project-config/README.md
Want to know the new features of each version, 6.0 deprecations, and changes in the 7.0 native version versions references/versions/README.md
Want to know typical usage, migration from JS, and using 6.0 and 7.0 together samples samples/README.md
Want to know about installation, the tsc CLI, tsc -b, parallelization flags, and nightly scripts scripts/README.md