Type
↔ shape & behaviour of data to rep set of values
Compound Type
Combo Type of 2+ Basic Types via &
or |
Type Operator
Type Assignment
code to assign Type to Variable/Parameter using :
Type Annotation
TS Syntax to annotate Variables with Types
Type Expression
TS Syntax evalue to Type, after :
|| inside Angle Bracket Notation
References
Overload Signature
↔ Function Signature with Type annotations but w/o implementationnumber
↔ Primitive Value to rep FP64 numeric data Typeany
↔ (default) untyped anonymous Type, can be literallyanything
Stub
↔ line of code (for function), indexed by __line number & VariableTypePolymorphic
↔ Code call with different Type & gets Stub for each comboMonomorphic
↔ Code always call with same Type, gets one StubMonitor
↔ JS Optimization Compiler component to analyse warm/hot Code & TypeDynamically-Typed
↔ of Variable not fixed to one Type at Declaration, can be reassigned, only become known at RuntimeStrongly-Typed
↔ of Programming Language to req Type assign for Variable Declarationtypeof
↔ JS Operator returnstring
of Operand TypeType Annotation
↔ TS Syntax to annotate Variables with TypesTop Type
↔ universal (super-) Type assignable to any VariableProperty Modifier
↔ TS Syntax to specify property's Type, if optional? & if writable?Static Type System
↔ system to Type-Check Type of Variable (known & expected) at Compile TimeType-Check
↔ (process) to check Variable assigned expected Types (usually done statically during Compile Time)Object
↔ any non-Primitive Variable Type rep a collection of properties. Pass by reference--strictFunctionTypes
↔ to flag TSC to enforce stronger checks for function TypesType Inference
↔ (feature) TSC to auto-derive implicit Type for Variable (w/o explicit Type Annotation)Alias
↔ custom Type to store & reuse Type Annotation & improve ReadabilityList
↔Array
with sequence of same Type elements & variable lengthTyped [
Rest Parameter](rest-parameter)
↔ TS Syntax for Rest Parameter which must always be of TypeArray
Union Type
↔ Compound Type join by|
Type Operator to define each member of Type set can EITHER beRecord
↔ Object with fixed number of known named properties& any Type before Compile Timeinterface
↔ Type to define Object shape & behavior blueprintGeneric Type
↔ factory for Types, defined using Angle Bracket Notation, to annotate with Generic Type Placeholder for TSC to infer & fill in===
↔ strict Equality Operator returnboolean
if both Operand of same Type!==
↔ strict INEquality Operator returnboolean
if both Operand NOT of same TypeType Expression
↔ TS Syntax evalue to Type, after:
|| inside Angle Bracket Notation--noImplicitAny
↔ to flag TSC to prevent Type Inference forany
- enforce explicit Type for Parameter, Exception, etcbottom type
↔ empty Type set to match nothing but itself;never
Static Type
↔ Type def at Compile TimeGenerics
↔ generic (algebraic) placeholder to work with any variety of Types, but allow Type Inference to catch specific TypeGeneric Type Variable
↔ special Variable that works on Types instead of ValuesType Assignment
↔ code to assign Type to Variable/Parameter using:
Numeric Literal Type
↔ fixed set of specific values fornumber
as TypeCompound Type
↔ Combo Type of 2+ Basic Types via&
or|
Type OperatorType Operator
↔ TS Syntax for built-in operation on TypesType Guard
↔ Runtime Type-Check to Narrow Type of Variablefunction type inference
↔ TSC only infers Type of return values, ignores Type of param argsTypeError
↔ Exception when can not perform operation due to unexpected TypeReactComponentElement
↔ Type for React CC or FCReactDOMElement
↔ Type for react VDOM rep of elementas
↔ Type Assertion Type Operator to Assert Variable as TypeTyped Object
↔ Type to ref any non-Primitive; as Record or DictionaryFunction Type
↔ Type to annotate Methods & Callback Function with implicit return ofany
Symbolic number
↔ additionalnumber
Type inclenum
↔ Enumerated set of named constants Type. default numbered. optional string member assign via=
Intersection Type
↔ Compound Type to merge via&
Type Operator to express Type as being ALL of Type setMapped Type
↔ Type to transform existing type in specific waymap
↔ iterable Object key:value pair struct with arbitrary key TypeCoercion
↔ (mechanism) to Implicit auto convert Type of Primitive Operand by JS CompilerDiscriminant
↔ Common Type in Union Type with different values--noImplicitThis
↔ to flag TSC to throw error when Type ofthis
keyword unclear