没有合适的资源?快使用搜索试试~ 我知道了~
首页玩转 Typescript(全本)
玩转 Typescript(全本)
需积分: 50 993 浏览量
更新于2023-05-22
评论 2
收藏 12.29MB PDF 举报
TypeScript从今天数以百万计的JavaScript开发者所熟悉的语法和语义开始。使用现有的JavaScript代码,包括流行的JavaScript库,并从JavaScript代码中调用TypeScript代码。 TypeScript可以编译出纯净、 简洁的JavaScript代码,并且可以运行在任何浏览器上、Node.js环境中和任何支持ECMAScript 3(或更高版本)的JavaScript引擎中。
资源详情
资源评论
资源推荐



1.1
1.2
1.2.1
1.3
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.4
1.4.1
1.4.1.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8
1.4.9
1.4.10
1.4.11
1.4.12
1.4.13
1.5
1.5.1
1.5.1.1
1.5.1.2
1.5.2
Table of Contents
Introduction
Getting Started
Why TypeScript
JavaScript
Equality
References
Null vs. Undefined
this
Closure
Number
Future JavaScript Now
Classes
Classes Emit
Arrow Functions
Rest Parameters
let
const
Destructuring
Spread Operator
for...of
Iterators
Template Strings
Promise
Generators
Async Await
Project
Compilation Context
tsconfig.json
Which Files?
Declaration Spaces
2

1.5.3
1.5.3.1
1.5.3.2
1.5.4
1.5.5
1.6
1.7
1.8
1.8.1
1.8.2
1.8.3
1.8.3.1
1.8.3.2
1.8.4
1.8.5
1.8.6
1.8.7
1.8.8
1.8.9
1.8.10
1.8.11
1.8.12
1.8.13
1.8.14
1.8.15
1.8.16
1.8.17
1.8.18
1.8.19
1.8.20
1.8.21
1.8.22
1.9
1.9.1
Modules
File Module Details
globals.d.ts
Namespaces
Dynamic Import Expressions
Node.js QuickStart
Browser QuickStart
TypeScript's Type System
JS Migration Guide
@types
Ambient Declarations
Declaration Files
Variables
Interfaces
Enums
lib.d.ts
Functions
Callable
Type Assertion
Freshness
Type Guard
Literal Types
Readonly
Generics
Type Inference
Type Compatibility
Never Type
Discriminated Unions
Index Signatures
Moving Types
Exception Handling
Mixins
JSX
React
3

1.9.2
1.10
1.10.1
1.10.2
1.11
1.11.1
1.12
1.12.1
1.12.2
1.12.3
1.13
1.13.1
1.13.2
1.13.3
1.13.4
1.13.5
1.13.6
1.13.7
1.13.8
1.13.9
1.13.10
1.13.11
1.13.12
1.13.13
1.13.14
1.13.15
1.13.16
1.13.17
1.13.18
1.13.19
1.13.20
1.14
1.15
Non React JSX
Options
noImplicitAny
strictNullChecks
Testing
Jest
Tools
Prettier
Husky
Changelog
TIPs
String Based Enums
Nominal Typing
Stateful Functions
Bind is Bad
Currying
Type Instantiation
Lazy Object Literal Initialization
Classes are Useful
Avoid Export Default
Limit Property Setters
outFile caution
JQuery tips
static constructors
singleton pattern
Function parameters
Truthy
Build Toggles
Barrel
Create Arrays
Typesafe Event Emitter
StyleGuide
Common Errors
4
剩余888页未读,继续阅读

















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0