书栈网 · BookStack 本次搜索耗时 0.039 秒,为您找到 7905 个相关结果.
  • TypeScript 2.1

    TypeScript 2.1 生成的构造函数代码将this 的值替换为super(...) 调用的返回值 继承内置类型如Error ,Array 和Map 将是无效的 const 变量和readonly 属性会默认地推断成字面类型 不对函数和类表达式里捕获的变量进行类型细化 没有注解的callback参数如果没有与之匹配的重载参数会触发implici...
  • TypeScript 1.6

    TypeScript 1.6 严格的对象字面量赋值检查 CommonJS的模块解析不再假设路径为相对的 函数和类声明为默认导出时不再能够与在意义上有交叉的同名实体进行合并 模块体以严格模式解析 标准库里DOM API的改动 系统模块输出使用批量导出 npm包的.js内容从’bin’移到了’lib’ TypeScript的npm包不会默认全局安装...
  • TypeScript 1.1

    Performance Improvements Better Module Visibility Rules Performance Improvements The 1.1 compiler is typically around 4x faster than any previous release. See this blog post f...
  • TypeScript 1.3

    Protected Tuple types Protected The new protected modifier in classes works like it does in familiar languages like C++, C#, and Java. A protected member of a class is visib...
  • TypeScript 1.5

    ES6 Modules Export Declarations Re-exporting Default Export Bare Import Destructuring in declarations and assignments Declarations Assignments namespace keyword let and ...
  • TypeScript 1.6

    JSX support New .tsx file extension and as operator Using React Using other JSX framworks Output generation Intersection types Example Local type declarations Class expre...
  • TypeScript 3.7

    Optional Chaining Nullish Coalescing Assertion Functions Better Support for never -Returning Functions (More) Recursive Type Aliases --declaration and --allowJs The useDefi...
  • TypeScript 3.8

    Type-Only Imports and Export ECMAScript Private Fields Which should I use? export * as ns Syntax Top-Level await es2020 for target and module JSDoc Property Modifiers B...
  • TypeScript 4.0

    Variadic Tuple Types Labeled Tuple Elements Class Property Inference from Constructors Short-Circuiting Assignment Operators unknown on catch Clause Bindings Custom JSX Fact...
  • TypeScript 1.1

    TypeScript 1.1 Performance Improvements Better Module Visibility Rules TypeScript 1.1 Performance Improvements The 1.1 compiler is typically around 4x faster than any previou...