书栈网 · BookStack 本次搜索耗时 0.030 秒,为您找到 356 个相关结果.
  • 并发

    并发 使用 Promises, 不要使用回调 回调不够简洁, 因为他们会产生过多的嵌套。 在 ES2015/ES6 中, Promises 已经是内置的全局类型了,使用它们吧! 不好的: require ( 'request' ). get ( 'https://en.wikipedia.org/wiki/Robert_Cecil_Marti...
  • Concurrency

    Concurrency Use Promises, not callbacks Async/Await are even cleaner than Promises Concurrency Use Promises, not callbacks Callbacks aren’t clean, and they cause excessiv...
  • TypeScript 2.6

    Strict function types Example Note Cache tagged template objects in modules Example Localized diagnostics on the command line Example Suppress errors in .ts files using ’// ...
  • TypeScript 2.6

    Strict function types Example Note Cache tagged template objects in modules Example Localized diagnostics on the command line Example Suppress errors in .ts files using ’// ...
  • TypeScript 2.6

    Strict function types Example Note Cache tagged template objects in modules Example Localized diagnostics on the command line Example Suppress errors in .ts files using ‘// ...
  • TypeScript 2.6

    TypeScript 2.6 Strict function types Example Note Cache tagged template objects in modules Example Localized diagnostics on the command line Example Suppress errors in .ts ...
  • Plugins List

    Plugins List JavaScript TC39 Proposals ES2022 ES2021 ES2020 ES2019 ES2018 ES2017 ES2016 ES2015 ES5 ES3 Module Formats React React Preset Flow TypeScript Misc Syntax...
  • tsc CLI Options

    tsc CLI Options Using the CLI Compiler Options Related tsc CLI Options Using the CLI Running tsc locally will compile the closest project defined by a tsconfig.json , you...
  • 编译选项

    编译选项 编译选项 相关信息 编译选项 编译选项 选项 类型 默认值 描述 --allowJs boolean false 允许编译javascript文件。 --allowSyntheticDefaultImports boolean module === "system" 或设置了--esM...
  • Compiler Options

    Compiler Options Related Compiler Options Option Type Default Description —allowJs boolean false Allow JavaScript files to be compiled. —allowSyntheticDefaultImports boole...