Global

Type Definitions

string | number | 'Specific string' | SomeOtherType

# SomeCombinedType

Example of union type definition

View Source typescript/type.ts, line 3

T | SomeOtherGenericType.<T> | object

# SomeGenericType

Example of generic type definition with T as parameter

Properties:
Name Type Description
property T
other string

View Source typescript/type.ts, line 11

object

# SomeOtherGenericType

Example of generic type definition with T as parameter

Properties:
Name Type Description
children Array

View Source typescript/type.ts, line 17

boolean

# SomeOtherType

Example of simple type definition

View Source typescript/type.ts, line 7