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

    TypeScript 1.6 JSX 支持 新的 .tsx 文件扩展名和 as 运算符 使用 React 使用其他 JSX 框架 编译输出 交叉类型 (intersection types) 例子 本地类型声明 类表达式 继承表达式 abstract (抽象的) 类和方法 例子 泛型别名 更严格的对象字面量赋值检查 例子 ...
  • TypeScript 3.4

    TypeScript 3.4 顶级 this 现在有类型了 泛型参数的传递 上下文返回类型作为上下文参数类型传入 在 strictFunctionTypes 之外一致性推断优先 参考 TypeScript 3.4 顶级 this 现在有类型了 顶级 this 的类型现在被分配为 typeof globalThis 而不是 an...
  • TypeScript 1.7

    TypeScript 1.7 从this 中推断类型发生了变化 类成员修饰符后面会自动插入分号 TypeScript 1.7 完整的破坏性改动列表请到这里查看:breaking change issues 。 从this 中推断类型发生了变化 在类里,this 值的类型将被推断成this 类型。 这意味着随后使用原始类型赋值时可能会发生错误...
  • TypeScript 2.3

    Generators and Iteration for ES5/ES3 Iterators Generators New --downlevelIteration Async Iteration Async iterators Async Generators The for-await-of Statement Caveats Ge...
  • TypeScript 2.7

    Constant-named properties Example Example unique symbol Example Example Strict Class Initialization Definite Assignment Assertions Example Fixed Length Tuples Improved t...
  • TypeScript 2.9

    Support number and symbol named properties with keyof and mapped types Example Example Recommendations Generic type arguments in JSX elements Example Generic type argument...
  • TypeScript 3.2

    strictBindCallApply Caveats Generic spread expressions in object literals Generic object rest variables and parameters BigInt Caveats Non-unit types as union discriminants ...
  • TypeScript 3.5

    Speed improvements Type-checking speed-ups --incremental improvements The Omit helper type Improved excess property checks in union types The --allowUmdGlobalAccess flag S...
  • Using TypeScript

    238 2021-03-12 《Deno v1.8.1 Manual》
    Using TypeScript Using TypeScript In this chapter we will discuss: Overview of TypeScript in Deno Configuring TypeScript in Deno Types and Type Declarations Migrating to/f...
  • TypeScript 1.5

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