logo
  • 教程列表
  • SO官方文档
  • tsconfig.json
    • 使用 tsconfig.json 创建 TypeScript 项目
    • 配置较少的编程错误
    • compileOnSave
    • 评论
    • preserveConstEnums
  1. StackOverflow 文档
  2. TypeScript 教程
  3. tsconfig.json
  4. 评论

评论

Created: November-22, 2018

tsconfig.json 文件可以包含行注释和块注释,使用与 ECMAScript 相同的规则。

//Leading comment
{
    "compilerOptions": {
        //this is a line comment
        "module": "commonjs", //eol line comment
        "target" /*inline block*/ : "es5",
        /* This is a
        block
        comment */
    }
}
/* trailing comment */
  • preserveConstEnums
  • compileOnSave

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明