Skip to content Skip to sidebar Skip to footer
Showing posts with the label Compilation

Why Exponential Enum Keys Are Used Here?

Here you can find this code: enum NodeFlags { None = 0, Let = 1, Const = 2, NestedN… Read more Why Exponential Enum Keys Are Used Here?

Why Does TypeScript Use Object Property Assignments As Object Keys And Variable Assignments As Function Arguments?

In the accepted answer for a question titled 'Compile an enum in TypeScript', the following… Read more Why Does TypeScript Use Object Property Assignments As Object Keys And Variable Assignments As Function Arguments?