The centerpiece of Grider's TypeScript course is not a to-do app. It is a from scratch.
He then writes a custom type guard:
He draws a "pie". The generic is the slice of pie you pass in.
type CounterAction = AddAction | SubtractAction;
His signature exercise: manually annotating a fetch response for a weather API. He forces you to write:
Enter .
As Stephen began creating his TypeScript course, he realized that it wouldn't be an easy task. He needed to cover the basics of the language, its type system, interfaces, classes, and advanced topics like generics and decorators. Moreover, he wanted to provide practical examples and real-world applications to make the learning experience more engaging.
The centerpiece of Grider's TypeScript course is not a to-do app. It is a from scratch.
He then writes a custom type guard:
He draws a "pie". The generic is the slice of pie you pass in.
type CounterAction = AddAction | SubtractAction;
His signature exercise: manually annotating a fetch response for a weather API. He forces you to write:
Enter .
As Stephen began creating his TypeScript course, he realized that it wouldn't be an easy task. He needed to cover the basics of the language, its type system, interfaces, classes, and advanced topics like generics and decorators. Moreover, he wanted to provide practical examples and real-world applications to make the learning experience more engaging.