Tag: strict mode
When to use Type and Interface in Typescript
Migrate from JavaScript to TypeScript for its robust type-checking capabilities, they often confront a common confusion: when to use interfaces and when to leverage types. Let’s unravel this mystery. Understanding Interfaces in TypeScript Interfaces in TypeScript facilitate the definition of contracts within your code, and they enforce these contracts across your objects, classes, and functions. […]
Posted in
Typescript
also tagged
strict mode
ts