News for hackers. Stuff that matters.
Re:TypeScript 3.7 Beta by styfle on Wednesday October 02, 2019 @11:23AM (#21137437)
Not to be confused with `const enum` which act more like a preprocessor and emits in the value at compile time.

    const enum Directions { Up, Down, Left, Right }
    console.log(Directions.Left)
    // emits js file with console.log(2)

https://www.typescriptlang.org/docs/handbook/enums.html#cons...

There are no comments on this comment yet.