Skip to main content
TypeScript
  • 下载
  • 文档
  • 手册
  • 社区
  • 演练
  • 工具
in En
Nodejs.cn

Was this page helpful?

    • 面向新程序员的 TS
    • 面向 JS 程序员的 TypeScript
    • 面向 Java/C# 程序员的 TS
    • 面向函数式程序员的 TS
    • 5 分钟了解 TypeScript 工具
    • TypeScript 手册
    • 基础知识
    • 日常类型
    • 类型缩小
    • 更多关于函数
    • 对象类型
      • 从类型创建类型
      • 泛型
      • keyof 类型运算符
      • typeof 类型运算符
      • 索引访问类型
      • 条件类型
      • 映射类型
      • 模板字面类型
    • 类
    • 模块
    • 工具类型
    • 备忘单
    • 装饰器
    • 声明合并
    • 枚举
    • 迭代器和生成器
    • JSX
    • 混入
    • 命名空间
    • 命名空间和模块
    • 符号
    • 三斜杠指令
    • 类型兼容性
    • 类型推断
    • 变量声明
    • 介绍
    • 理论
      • 选择编译器选项
    • 参考
      • ESM/CJS 互操作性
    • ASP.NET 核心
    • Gulp
    • DOM 操作
    • 从 JavaScript 迁移
    • 将 Babel 与 TypeScript 结合使用
    • TypeScript 5.8
    • TypeScript 5.7
    • TypeScript 5.6
    • TypeScript 5.5
    • TypeScript 5.4
    • TypeScript 5.3
    • TypeScript 5.2
    • TypeScript 5.1
    • TypeScript 5.0
    • TypeScript 4.9
    • TypeScript 4.8
    • TypeScript 4.7
    • TypeScript 4.6
    • TypeScript 4.5
    • TypeScript 4.4
    • TypeScript 4.3
    • TypeScript 4.2
    • TypeScript 4.1
    • TypeScript 4.0
    • TypeScript 3.9
    • TypeScript 3.8
    • TypeScript 3.7
    • TypeScript 3.6
    • TypeScript 3.5
    • TypeScript 3.4
    • TypeScript 3.3
    • TypeScript 3.2
    • TypeScript 3.1
    • TypeScript 3.0
    • TypeScript 2.9
    • TypeScript 2.8
    • TypeScript 2.7
    • TypeScript 2.6
    • TypeScript 2.5
    • TypeScript 2.4
    • TypeScript 2.3
    • TypeScript 2.2
    • TypeScript 2.1
    • TypeScript 2.0
    • TypeScript 1.8
    • TypeScript 1.7
    • TypeScript 1.6
    • TypeScript 1.5
    • TypeScript 1.4
    • TypeScript 1.3
    • TypeScript 1.1
    • 介绍
    • 声明参考手册
    • 库结构
      • 模块 .d.ts
      • 模块:插件
      • 模块:类
      • 模块:函数
      • 全局 .d.ts
      • 全局:修改模块
    • 该做什么和不该做什么
    • 深入探讨
    • 发布
    • 引用
    • 使用 TypeScript 的 JS 项目
    • 类型检查 JavaScript 文件
    • JSDoc 参考资料
    • 从 .js 文件创建 .d.ts 文件
    • 什么是 tsconfig.json
    • MSBuild 中的编译器选项
    • TSConfig 参考手册
    • tsc CLI 选项
    • 项目引用
    • 与构建工具集成
    • 配置监视
    • 每日构建

Templates

global-modifying-module.d.ts

  • global-plugin.d.ts
  • global.d.ts
  • module-class.d.ts
  • module-function.d.ts
  • module-plugin.d.ts
  • module.d.ts
本页目录
    Is this page helpful?

    主题

    Popular Documentation Pages

    • Everyday Types

      All of the common types in TypeScript

    • Creating Types from Types

      Techniques to make more elegant types

    • More on Functions

      How to provide types to functions in JavaScript

    • More on Objects

      How to provide a type shape to JavaScript objects

    • Narrowing

      How TypeScript infers types based on runtime behavior

    • Variable Declarations

      How to create and type JavaScript variables

    • TypeScript in 5 minutes

      An overview of building a TypeScript web app

    • TSConfig Options

      All the configuration options for a project

    • Classes

      How to provide types to JavaScript ES6 classes

    TypeScript v5.9 中文网 - 粤ICP备13048890号
    Nodejs.cn 旗下网站

    Made with ♥ in Redmond, Boston, SF & Dublin

    Microsoft Logo

    © 2012-2025 Microsoft
    PrivacyTerms of Use

    Using TypeScript

    • Get Started
    • Download
    • Community
    • Playground
    • TSConfig Ref
    • Code Samples
    • Why TypeScript
    • Design

    Community

    • Get Help
    • Blog
    • GitHub Repo
    • Community Chat
    • @TypeScript
    • Mastodon
    • Stack Overflow
    • Web Repo

    MSG