-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparticularCourse.html
289 lines (226 loc) · 12.1 KB
/
particularCourse.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TypeScript</title>
<link rel="stylesheet" type="text/css" href="./css/courseStyle.css" />
</head>
<body>
<!-- header -->
<header class="header">
<div class="inner">
<div class="wraps">
<div class="logos"><a class="s-tr" href="index.html">FrontendMasters</a></div>
<label class="NavMobileHamburger" for="open-nav-main">Menu</label>
<nav class="Nav NavMobile NavMain"><input class="toggle-target" id="open-nav-main" type="checkbox">
<ul>
<li class="items"><a href="courses.html">Courses</a></li>
<li class="items"><a href="courses.html">Learn</a></li>
<li class="items"><a href="final.html">Pricing</a></li>
<li class="items"><a onclick="login()" id="login" href="Loginn.html">Login</a></li>
<li class="items"><a onclick="signup()" class="Button ButtonRed" href="final.html">Join Now</a></li>
</ul>
</nav>
</div>
</div>
<svg class="polygon" viewbox="0 0 100 10" preserveaspectratio="none">
<defs>
<linearGradient id="linear" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#c02d28"></stop>
<stop offset="100%" stop-color="#e66225"></stop>
</linearGradient>
</defs>
<polygon points="0,2 0,0 100,0 100,10" fill="url(#linear)"></polygon>
</svg>
</header>
<!-- end header -->
<div id="title-course">
<img src="https://static.frontendmasters.com/assets/courses/2021-08-04-intermediate-typescript/thumb.webp" alt="typescript" />
<div>
<h2>Intermediate TypeScript</h2>
<div class="img-name ">
<img src="https://static.frontendmasters.com/assets/teachers/north/thumb.webp" alt="Mike North" />
<div>Mike North <span><br> LinkedIn</span>
</div>
</div>
<div>
2 hours,48 minutes
<Strong>CC</Strong>
</div>
</div>
</div>
<div class="content-prev">
<div>
<div class="Sample-video">
<iframe width="560" height="315" src="https://www.youtube.com/embed/Q1owo3t6CZ8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</iframe>
</div>
<div class="prev-discription">
<p>
Learn to type some of the more tricky TypeScript challenges found in large codebases, such as declaration files, generics, and transforming types. You’ll learn to keep yourself and your team unblocked by learning to diagnose common problems quickly. By
taking this course, you'll grow from being a contributor to a TypeScript codebase to being on the path to becoming "the TypeScript expert" for your team.
</p>
<p>
This course and others like it are available as part of our Frontend Masters video subscription.
</p>
<div>
Published: August 4, 2021
</div>
<a class="watch-button" href="#">
Get Unlimited Access Now
</a>
</div>
</div>
</div>
<div id="table-cont">
<h2>Table of Contents</h2>
<a href="#">
<div class="content">
<h3>Introduction</h3>
<div class="main-content">
<img src="https://static.frontendmasters.com/thumb/savage-a/2021/08/04/1-90.jpg" alt="demo1" />
<div>
<div>
<div>00:00:00 - 00:04:16</div>
<h4>Introduction</h4>
</div>
<p>Mike North introduces the course by discussing goals of this course, prerequisites, and a brief workshop setup. A brief overview of other TypeScript courses on Frontend Masters and their relation to this course is also provided
in this segment.</p>
</div>
</div>
</div>
</a>
<a href="#">
<div class="content">
<h3>Code Infrastructure</h3>
<div class="main-content">
<img src="https://static.frontendmasters.com/thumb/savage-a/2021/08/04/1-90.jpg" alt="demo1" />
<div>
<div>
<div>00:04:17 - 00:14:59</div>
<h4>Declaration Merging</h4>
</div>
<p>Mike discusses stacking types and values on an identifier, how to understand what is attached to an identifier, and what a namespace is. A walk through of applying type and value tests to a class and how classes relate to declaration
merging is also provided in this segment.</p>
</div>
</div>
</div>
</a>
<a href="#">
<div class="content">
<div class="main-content">
<img src="https://static.frontendmasters.com/thumb/savage-a/2021/08/04/1-90.jpg" alt="demo1" />
<div>
<div>
<div>00:15:00 - 00:27:07</div>
<h4>Modules & CJS Setup</h4>
</div>
<p>Mike discusses ES Module imports and exports, CommonJS Interop, how avoid ECMAScript errors, and importing outside of JavaScript and TypeScript. If the esModuleInterop and allowSyntheticDefaultImports compiler flags are enabled
in order to satisfy ECMAScript errors, anyone who depends on those types will also have to enable them.</p>
</div>
</div>
</div>
</a>
<a href="#">
<div class="content">
<h3>Conditional Types</h3>
<div class="main-content">
<img src="https://static.frontendmasters.com/thumb/savage-a/2021/08/04/1-90.jpg" alt="demo1" />
<div>
<div>
<div>00:27:08 - 00:35:05</div>
<h4>Type Queries</h4>
</div>
<p>Mike discusses how to obtain a type from a value with the type queries keyof and typeof. The query keyof obtains the type representing all property keys on a given interface while typeof extracts a type from a value. An example
for each of these type queries provided in this segment.</p>
</div>
</div>
</div>
</a>
<a href="#">
<div class="content">
<div class="main-content">
<img src="https://static.frontendmasters.com/thumb/savage-a/2021/08/04/1-90.jpg" alt="demo1" />
<div>
<div>
<div>00:35:06 - 00:39:50</div>
<h4>Conditional Types</h4>
</div>
<p>Mike demonstrates the syntax similarities between JavaScript ternary operators and conditional types. A walk through of each part of a conditional type is also covered in this segment.</p>
</div>
</div>
</div>
</a>
<a href="#">
<div class="content">
<div class="main-content">
<img src="https://static.frontendmasters.com/thumb/savage-a/2021/08/04/1-90.jpg" alt="demo1" />
<div>
<div>
<div>00:39:51 - 00:49:06</div>
<h4>Conditional Types Practice</h4>
</div>
<p>Mike provides a short exercise to practice with the extends keyword by determining whether a conditional type will evaluate to true or false. A walk through of each example and a student question regarding the modern set theory
limitations are also covered in this segment.</p>
</div>
</div>
</div>
</a>
<a href="#">
<div class="content">
<div class="main-content">
<img src="https://static.frontendmasters.com/thumb/savage-a/2021/08/04/1-90.jpg" alt="demo1" />
<div>
<div>
<div>00:49:07 - 00:57:16</div>
<h4>Extract & Exclude</h4>
</div>
<p>Mike discusses the built-in utility types Extract and Exclude, walks through an example of each utility type, and describes how each utility type works. Exclude is the opposite of Extract, in that it’s useful for obtaining the
part of a type that’s not assignable to some other type.</p>
</div>
</div>
</div>
</a>
</div>
<!-- footer -->
<div id="box2">
<footer role="contentinfo" class="FooterMain">
<div class="wraps">
<div class="row">
<div class="logos"><a class="s-tr" href="/">FrontendMasters</a></div>
<nav class="Nav NawvMobile NavFooter">
<ul>
<li class="items"><a href="courses.html">Courses</a></li>
<li class="items"><a href="#">Learn</a></li>
<li class="items"><a href="#">Teachers</a></li>
<li class="items"><a href="#">Guides</a></li>
<li class="items"><a href="#">Pricing</a></li>
<li class="items"><a onclick="login()">Login</a></li>
<li class="items"><a onclick="signup()">Join Now</a></li>
<li class="items"><a href="#">FAQ</a></li>
</ul>
</nav>
<div class="app">
<img src="https://developer.apple.com/assets/elements/icons/download-on-the-app-store/download-on-the-app-store.svg" width="150px" height="70px">
<a id="" class="Android"></a> <img class="app" src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" height="65">
</a>
</div>
<div class="twitter">
<img src="https://image.flaticon.com/icons/png/128/733/733579.png" width="40px" height="40px" class="imageGap">
<img src="https://image.flaticon.com/icons/png/128/174/174857.png" width="40px" height="40px" class="imageGap">
<img src="https://image.flaticon.com/icons/png/128/733/733547.png" width="40px" height="40px" class="imageGap">
<img src="https://image.flaticon.com/icons/png/128/1409/1409946.png" width="40px" height="40px" class="imageGap">
<p class="email">Email: <a href="">support@frontendmasters.com</a></p>
</div>
<div class="copyright">© 2021 Frontend Masters ·
<a href="https://static.frontendmasters.com/assets/legal/MasterServicesAgreement.pdf">Terms of
Service</a> · <a href="https://static.frontendmasters.com/assets/legal/PrivacyPolicy.pdf">Privacy Policy</a>
</div>
<div class="end1">Frontend Masters is proudly made in Minneapolis, MN</div>
</div>
</div>
</div>
</body>
</html>