TypeScript
My TypeScript notes.
1 Jan 0001
🔢 Number # Number is the set of all numbers: integers, floats, ……
1 Jan 0001
Assigning object as key in object # let i = { 10: "akkkdkd", ……
1 Jan 0001
let a = [1, 2, 3]; // number[] var b = ['a', 'b']; // ……
1 Jan 0001
// empty object literal (object litral => syntax to write an ……
1 Jan 0001
There are two kinds of enums: enums that map from strings to strings, ……
1 Jan 0001
Extend of types and interfaces
type are extended using union operators and interfaces are extended ……
1 Jan 0001
Overview # call(), apply(), and bind() are JavaScript methods that ……
1 Jan 0001
Null, Undefined, Void and Never
Null and Undefined # undefined type means the type has not been yet ……
1 Jan 0001
Signature call is syntax in ts to prodifine prototype/type of ……
1 Jan 0001
Strings in js/ts # When String() is called as a function (without ……
1 Jan 0001
intro # For the few cases where you have a value whose type you really ……