An open API service indexing awesome lists of open source software.

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"

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.