I just noticed when trying to create an interface in TypeScript that \"type\" is either a keyword or a reserved word. When creating the following interface, for example, \"t
It's used for "type aliases". For example:
type StringOrNumber = string | number;
type DictionaryOfStringAndPerson = Dictionary;
Reference: (edit: removed outdated link) TypeScript Specification v1.5 (section 3.9, "Type Aliases", pages 46 & 47)
Update: (edit: removed outdated link) Now on section 3.10 of the 1.8 spec. Thanks @RandallFlagg for the updated spec and link
Update: TypeScript Handbook, search "Type Aliases" can get you to the corresponding section.