Skip to main content
DevTools24

tsconfig.json 生成器

使用不同项目类型的预设生成 TypeScript 配置文件。自定义编译器选项。

TypeScript Configuration - 技术详情

tsconfig.json configures the TypeScript compiler. Key options include target (ES version), module (module system), strict (type checking), and paths (import aliases). Use extends to inherit from base configurations.

命令行替代方案

# Initialize tsconfig.json\nnpx tsc --init\n\n# Compile with options\nnpx tsc --strict --noEmit

参考

查看官方规范