TypeScript in Angular

Angular uses TypeScript, which adds types to JavaScript to catch mistakes early.

What is TypeScript in Angular?

Angular apps are written in TypeScript, JavaScript with types. Types catch mistakes like a misspelled property before the app even runs.

interface Recipe {
  title: string;
  minutes: number;
}

recipes: Recipe[] = [{ title: 'Pancakes', minutes: 20 }];

Level: Novice · More Angular terms at this level

Updated