Term definitions

Before we keep moving, it would be nice to define the common jargon you may have met or will meet with in the course of understanding loose and strict types:

  • Members: These are the features of a language that describe how the data is stored and manipulated. Variables, functions, properties, classes, interfaces, and so on, are all examples of the possible members a language can have.
  • Declared versus defined versus assigned: When a variable is initialized with no value, it is said to be declared. When it is declared and has a type, it is said to be defined. When the variable has a value, whether typed or not, it is assigned.
  • Types: These are used to categorize the data based on how they are parsed and manipulated. For example, ...

Get TypeScript 2.x for Angular Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.