https://github.com/matthisk/beyond-ts-101
Code samples for my talk "Beyond TypeScript 101"
https://github.com/matthisk/beyond-ts-101
meetup typescript
Last synced: 3 months ago
JSON representation
Code samples for my talk "Beyond TypeScript 101"
- Host: GitHub
- URL: https://github.com/matthisk/beyond-ts-101
- Owner: matthisk
- Created: 2019-10-21T13:43:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T08:01:16.000Z (almost 7 years ago)
- Last Synced: 2025-03-20T10:34:08.068Z (over 1 year ago)
- Topics: meetup, typescript
- Language: TypeScript
- Size: 82.3 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 👨🏼💻 Beyond TypeScript 101
These are the code examples for my talk given at "The Frontend Meetup @ Xebia" on october 21st.
## Talk Description
So you know how to type a literal or write an interface, now it is time for the next step. In the talk "Beyond TypeScript 101" I will explain how the TypeScript compiler can type-check dynamic code. To check code that dynamically reads or writes properties we need to be able to alter types. There exist several techniques in the TypeScript language to perform these alterations, we will look at index types, mapped types and some of the type level methods available in the TypeScript standard library. These constructs can help you guard your code from type errors while still leveraging the power of the underlying dynamic runtime.