-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
996 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | ||
|
||
<title>TypeScript First Steps</title> | ||
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/reset.min.css" | ||
integrity="sha512-Mjxkx+r7O/OLQeKeIBCQ2yspG1P5muhAtv/J+p2/aPnSenciZWm5Wlnt+NOUNA4SHbnBIE/R2ic0ZBiCXdQNUg==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/reveal.min.css" | ||
integrity="sha512-ITH3NSfntO7uI5n+BnxGNXpzDUoOsmAXuG37UDONLxNYIdc0EBBOOQ1xyc+t9ag9ETSuBXFApx+Rod0uURfDYw==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/theme/night.min.css" | ||
integrity="sha512-bfCyfT+5Js2CKjpiF7yCtTcNlNTtcdAIHV8DfGLCQuTfTEHTU9uEvhQ/Ty4zv3IRtkFQu8DKeM2MHGka+K/cxA==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
|
||
<!-- Theme used for syntax highlighted code --> | ||
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/night-owl.min.css" integrity="sha512-i5X6Fdn/ZqvGSqPrdMa3FgcpXM/Nr6YccSKFYT93zljl/HZDEpvBbE5Pxp91eiWGccZLrL/LDQJd7fjTRYsVaA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/a11y-dark.min.css" | ||
integrity="sha512-Vj6gPCk8EZlqnoveEyuGyYaWZ1+jyjMPg8g4shwyyNlRQl6d3L9At02ZHQr5K6s5duZl/+YKMnM3/8pDhoUphg==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
|
||
<style> | ||
/* SLIDES (Reveal.js) */ | ||
.reveal code { | ||
color: | ||
var(--r-link-color-hover); | ||
} | ||
|
||
.accent { | ||
color: var(--r-link-color); | ||
} | ||
</style> | ||
|
||
</head> | ||
|
||
<body> | ||
<div class="reveal"> | ||
<div class="slides"> | ||
<section data-markdown> | ||
<textarea data-template> | ||
## TypeScript First Steps | ||
### A [FrontendMasters](https://frontendmasters.com) course by [AnjanaVakil](https://anjana.dev) | ||
|
||
[anjana.dev/typescript-first-steps](https://anjana.dev/typescript-first-steps) | ||
</textarea> | ||
</section> | ||
<section data-markdown data-separator-vertical="\n--\n"> | ||
<textarea data-template> | ||
### About this course | ||
|
||
|
||
-- | ||
|
||
### Why & How | ||
|
||
|
||
- JS vs. TS & the problems TS solves | ||
- Installing TS & setting up | ||
- Moving gradually from TS to JS | ||
|
||
-- | ||
|
||
### Functionality & Features | ||
|
||
- Adding types variables & functions | ||
- Defining, exporting, and importing types | ||
- Union types & type narrowing | ||
- Defining & extending interfaces | ||
- Generic types & type parameters | ||
|
||
-- | ||
|
||
### Libraries & Workflows | ||
|
||
- TS configuration & full-stack workflows | ||
- Testing & debugging TS apps | ||
- Validating data for end-to-end type safety | ||
- Open-source libraries for production-grade TS | ||
|
||
-- | ||
|
||
### Ground rules | ||
|
||
- Everyone belongs here! | ||
- There are no "dumb" questions | ||
- Growth > Goalposts | ||
|
||
-- | ||
|
||
### Intros | ||
|
||
- What brings you here today? | ||
- What's your experience with JS (or TS)? | ||
- What's your favorite _type_ of coding project? | ||
|
||
-- | ||
|
||
### Ready? | ||
|
||
# [Let's go!](./1.html) | ||
|
||
</textarea> | ||
</section> | ||
|
||
|
||
</div> | ||
</div> | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/reveal.min.js" | ||
integrity="sha512-131e3mIrDAyUD075SVzvIjS0g97uDg0+/qAobDHd++h+lgFi4z88DVOpidm06jpb+0PzK4kcm9w79r6EHV0SkA==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/plugin/notes/notes.min.js" | ||
integrity="sha512-nLsCkPS/rdxRVOkxiKnld9KhQ24V/5kRChzSZ3MoFODykbWyBlQRsHLrbpN3J4LabYBnXIp1EnRIo3ifvyiQIg==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/plugin/markdown/markdown.min.js" | ||
integrity="sha512-QAU7Ux8iEB53koLKFCtddfFp0D1+uQWoX3ROnRDLeiE98XHOkMciaup0Spc014jQAuJaqz8VjUZdBqriheI4Lg==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/plugin/highlight/highlight.min.js" | ||
integrity="sha512-U3fPDUX5bMrn1wnYqjaK44MFA9E6MKS+zPAg9WPAGF5XhReBeDj3FGaA831CjueG+YJxYA3WaO/m33kMIoOs/A==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
|
||
<!-- CopyCode plugin for copy button on code samples --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugin/copycode/copycode.js"></script> | ||
|
||
<script> | ||
// Slides powered by revealjs.com | ||
|
||
// More info about initialization & config: | ||
// - https://revealjs.com/initialization/ | ||
// - https://revealjs.com/config/ | ||
Reveal.initialize({ | ||
hash: true, | ||
|
||
// Learn about plugins: https://revealjs.com/plugins/ | ||
plugins: [RevealMarkdown, RevealHighlight, RevealNotes, CopyCode] | ||
}); | ||
|
||
</script> | ||
|
||
</body> | ||
|
||
</html> |
Oops, something went wrong.