Student Reviews
( 5 Of 5 )
1 review
Video of TypeScript Basics 11 - Any and union types in TypeScript course by Java Brains channel, video No. 11 free certified online
Access the full course here: https://javabrains.io/courses/typescript_basics
If you want some flexibility in your type declarations, you can use two options. The any type that lets you completely bypass TypeScript's type checking for a given variable. You can also use a union type that lets you declare multiple type possibilities for a variable.
Course: TypeScript Basics
Learn about the basics of TypeScript. Understand how types work, how to use arrays and tuples, how to declare classes and interfaces. Understand concepts of type erasure, duck typing, enums, generics and modules. Create a development workflow and configure the TypeScript compiler to your needs. And watch as I build an end-to-end TypeScript application from scratch.