• 投稿

TS入门圣经:Total TypeScript-Matt Pocock(双语精翻)_上

1.1万
1
2026-01-15 13:40:04
93
75
364
19
Matt Pocock的知名课程total typescript的入门篇 字幕使用faster_whisper_large_v3识别和gemini进行翻译
视频选集
(1/200)
001 TypeScripts Relationship with JavaScript
04:25
002 JavaScript vs. TypeScript in the Build Process
02:55
003 Essential Tools for TypeScript Development
01:43
004 Set up Node.js and VS Code
01:33
005 Installing pnpm for Package Management
03:01
006 Installing t
01:19
007 Unexpected Token Error in the Browser
00:48
008 Browsers Cant Understand TypeScript Syntax
01:20
009 Convert a TypeScript File into a JavaScript File
01:06
010 Compile TypeScript to JavaScript with the TypeScript CLI
04:05
011 Automating TypeScript Compilation
00:48
012 Use tscs Watch Mode to Automatically Compile TypeScript Files
01:24
013 Compiling TypeScript Files to a Directory
01:09
014 Configure the Output Directory for Compiled Files
01:11
015 Use Vite for a Frontend App with TypeScript
01:47
016 Configure Vite for a Vanilla TypeScript Project
02:56
017 Comparing Vite with tsc
01:03
018 TypeScript as a Linter
03:33
019 TypeScript in a CI-CD System
03:41
020 Should TypeScript Block Your Dev Server
04:47
021 Quickly Create Scripts with tsx
01:44
022 Understanding Function Errors
00:51
023 Fixing Errors in the
01:05
024 Annotating Empty Parameters
00:37
025 Annotating Function Parameters
01:15
026 Basic Types in TypeScript
00:56
027 TypeScript Basic Types
01:37
028 Optional Function Parameters
00:51
029 Optional Function Parameters in TypeScript
00:57
030 Default Parameters in JavaScript Functions
00:45
031 Add a Default Parameter
01:27
032 Typing Object Literals
00:43
033 Annotating with
01:47
034 Making Object Property Types Optional
00:52
035 Specifying Optional Properties
00:55
036 A Single Source of Truth for Type Definitions
00:53
037 Creating
01:30
038 Add an Array to an Object
00:53
039 Two Syntaxes for Arrays
01:46
040 Arrays of Objects in TypeScript
00:48
041 Representing an Array of Objects
02:12
042 Rest Parameters in TypeScript
00:37
043 Using Rest Parameters in TypeScript
01:01
044 Tuples for Precise Array Structures in TypeScript
01:20
045 Using Tuple Syntax in TypeScript
01:22
046 Using Optional Tuple Members in TypeScript
00:50
047 Working with Optional Tuple Members in TypeScript
01:34
048 The Controversial
01:07
049 The Dangers of Using _any
02:06
050 Function Types
01:25
051 Function Types for Type Aliases in TypeScript
01:45
052 Typing an Event Listener
00:46
053 The
01:52
054 Restricting
00:50
055 Creating Typed Sets
02:16
056 Type Checking Maps
00:52
057 Adding Types to Maps
01:48
058 Debugging JSON Parsing
00:39
059 Decoding the JSON.parse Error
01:20
060 Typing Fetch API Responses in Async Functions
01:11
061 Adding Types to an Async Function
02:27
062 Understanding How TypeScript Works in Your IDE
01:16
063 Introspecting Variables and Declarations in TypeScript
01:19
064 Hovering Over a Function Call
00:28
065 Fixing Errors with Hovering
01:32
066 Adding Documentation for Hovers
00:33
067 TSDoc Comments
01:41
068 Manually Triggering Autocomplete
01:19
069 The Control plus Space Shortcut
01:32
070 TypeScripts Approach to Errors
03:43
071 Quick Renaming in VS Code
01:51
072 Navigating Code with _Go to Definition
02:29
073 Fast Imports in VS Code
00:53
074 Using Autocomplete and Quick Fix to Import Variables
02:12
075 Organizing Imports in Large Files
00:39
076 The Organize Imports Hotkey in VS Code
01:12
077 Quick Fix Refactoring
00:54
078 Refactoring with Quick Fixes
01:44
079 Automatic Code Formatting with Prettier
02:08
080 Restarting the TypeScript Server in VS Code
01:17
081 Handling Null Values in TypeScript
01:01
082 Introducing Union Types in TypeScript
01:14
083 Diving Deeper into Unions and Assignability
00:49
084 Restricting Function Parameters
00:55
085 Combining Literal and Union Types
01:57
086 Literal Type Assignability
01:06
087 Combining Union Types in TypeScript
01:29
088 Create New Types By Combining Unions
01:08
089 How Big Can a Union Be
01:11
090 Resolving Literal Types to Wider Types
02:21
091 Narrowing Unions with
02:12
092 Conditional Narrowing in TypeScript
01:09
093 Different Approaches for Narrowing Inputs
02:50
094 Narrowing with Boolean Wont Work
01:05
095 Gotchas When Narrowing a Map in TypeScript
01:00
096 Correctly Narrowing a Map in TypeScript
01:41
097 Narrowing by Throwing Errors
00:59
098 Throwing Errors to Narrow
01:43
099 Narrowing with
01:30
100 Dynamically Handling Different API Responses in TypeScript
01:41
101 Introducing the Unknown Type in TypeScript
02:08
102 Dealing with Unknown Errors in TypeScript
01:40
103 Narrowing with
02:15
104 Narrowing Unknown in a Large Conditional Statement
01:16
105 Narrowing Unknown Types in TypeScript
02:56
106 Introducing the
02:24
107 Solving the Never Type in TypeScript
00:28
108 Empty Arrays and the Never Type in TypeScript
01:46
109 Narrowing Return Types with TypeScript
01:31
110 Returning
02:39
111 Narrowing in Different Scopes
01:29
112 Narrowing Behavior Across Scopes
04:08
113 Handling Separate But Related Types
01:42
114 Improving Type Safety with Discriminated Unions in TypeScript
04:17
115 Destructuring a Discriminated Union in TypeScript
00:53
116 Limitations of Destructuring Discriminated Unions
02:59
117 Narrowing a Discriminated Union with a Switch
01:05
118 Refactoring to a Switch Statement
02:20
119 The switch true Pattern in TypeScript
01:21
120 Refining Types with Discriminated Unions of Tuples
01:50
121 Handle Error and Success States by Narrowing
02:42
122 Discriminated Booleans
00:55
123 Discriminated Unions with Boolean Discriminators
01:09
124 Adding Defaults to a Discriminated Union
00:59
125 Handling Optional Parameters in Discriminated Unions
03:52
126 Should You Provide Function Return Types
04:51
127 Extending Objects in TypeScript
02:09
128 Use the Intersection Operator to Extend an Object Type in TypeScript
00:49
129 Extend an Object Using Interfaces in TypeScript
00:54
130 Extending Interfaces to Create Hierarchies in TypeScript
01:50
131 Extending Incompatible Properties
00:53
132 Comparing Intersections and Interface Extends
03:20
133 Comparing Intersection and Interface Extends in TypeScript
02:11
134 Allow Dynamic Keys in TypeScript Types
01:00
135 Dynamic Keys with Index Signatures and Record Types
03:42
136 Allow Any String Key while Supporting Default Properties
00:41
137 Add an Index Signature to an Interface
01:33
138 Supporting Different Types of Keys in TypeScript
01:46
139 Using the PropertyKey Type in TypeScript
00:51
140 Restricting Object Keys in TypeScript
01:09
141 Records and Mapped Types in TypeScript
02:52
142 An Issue with Duplicate Interfaces
00:51
143 Declaration Merging in TypeScript Interfaces
03:09
144 Working with Partial Data from a Type
01:37
145 Manage Subtypes with the Pick Utility Type
02:56
146 Exclude a Property from an Interface
00:50
147 The Omit Utility Type in TypeScript
01:29
148 A Quirk of Omit in TypeScript
01:49
149 Understanding Distributive Omit and Pick in TypeScript
03:06
150 Excluding Fields from a TypeScript Type
00:55
151 The Partial Utility Type in TypeScript
01:08
152 Making Type Properties Required in TypeScript
00:48
153 Specifying a Type with Shared Properties in TypeScript
01:24
154 Common Keys of Unions of Objects in TypeScript
01:28
155 Fixing a Type Assignment Inference Error
01:02
156 Inference differences between let and const
02:10
157 Object Property Inference
00:49
158 Understanding Object Properties and Assignability in TypeScript
02:44
159 Creating Read-only Properties
00:28
160 Specifying Read-only Object Properties
01:03
161 Using a Type Helper to Create Read-only Properties
00:52
162 Use the Readonly Type Helper to Create Read-Only Objects in TypeScript
00:50
163 Deeply Apply Read-only Properties to an Object in TypeScript
01:23
164 Using as const to Deeply Apply Read-only Properties to an Object in TypeScri
01:18
165 Comparing Object.freeze with as const
00:55
166 Deeply Apply Read-only Properties with as const
01:36
167 Prevent Array Mutation in TypeScript
00:47
168 Two Ways to Create Read-Only Arrays in TypeScript
01:37
169 Distinguishing Assignability Between Read-Only and Mutable Arrays
02:02
170 Fixing Unsafe Tuples
01:32
171 Specifying a readonly Tuple
01:54
172 Use the ts-reset Library to Improve Readonly Array Handling in TypeScript
02:11
173 Improve Type Inference for an Async Function
01:20
174 Two Options for Improving Promise Return Types in TypeScript
02:03
175 Infer Strings as Their Literal Types in Objects with as const
01:55
176 Classes in TypeScript
00:51
177 Creating a Class with Default Properties
02:46
178 Implement Class Methods in TypeScript
00:55
179 Declaring Methods in TypeScript Classes
01:31
180 Creating Constructors for Classes in TypeScript
00:36
181 Receive Arguments in Class Constructors
01:42
182 Getter Methods in TypeScript
01:01
183 Adding a Getter to a Class in TypeScript
01:42
184 Public and Private Properties in TypeScript
00:54
185 Prevent Access to Private Properties in Classes
01:54
186 Setter Methods in TypeScript
00:54
187 Add a Setter to a TypeScript Class
01:26
188 Extending Classes in TypeScript
01:32
189 Inheriting Properties from Other Classes in TypeScript
04:12
190 Overriding Methods in TypeScript
03:05
191 Ensure a Class Adheres to a Contract
00:47
192 Implementing Interfaces in TypeScript with Classes
02:15
193 Using
01:10
194 Annotating
02:54
195 Intro to TypeScript-only Features
00:53
196 Parameter Properties in TypeScript
01:43
197 Working with Enums in TypeScript
01:46
198 Create an Enum in TypeScript
02:51
199 String Enums in TypeScript
01:15
200 Creating a String Enum in TypeScript
02:28
客服
顶部
赛事库 课堂 2021拜年纪