Category: TypeScript

40 questions in TypeScript.

What is type assertion in TypeScript

· TypeScript

Learn how to override TypeScript inference using type assertions when you know more about a value than the compiler.

What are basic types in TypeScript

· TypeScript

Explore the primitive and common built-in types available in TypeScript including string, number, boolean, array, and tuple.

How to use enums in TypeScript

· TypeScript

Learn how to define numeric and string enums in TypeScript and understand their compiled output.

What is TypeScript and why use it

· TypeScript

Learn what TypeScript is, how it extends JavaScript with static types, and why teams adopt it for large codebases.