6 ms·
>without understanding that the first only adds type declarations https://www.typescriptlang.org/docs/handbook/enums.html https://www.typescriptlang.org/docs/h
by sdkgames 4y ago
>without understanding that the first only adds type declarations
https://www.typescriptlang.org/docs/handbook/enums.html https://www.typescriptlang.org/docs/handbook/enums.html
- pjmlp 4y agoNot forever if this ever comes through, https://github.com/Jack-Works/proposal-enum https://github.com/Jack-Works/proposal-enum
- iudqnolq 4y agoBarely https://www.typescriptlang.org/play?ssl=12&ssc=1&pln=12&pc=4#code/PTAEHUFMBsGMHsC2lQBd5oBYoCoE8AHSAZVgCcBLA1UABWgEM8BzM+AVwDsATAGiwoBnUENANQAd0gAjQRVSQAUCEmYKsTKGYUAbpGF4OY0BoadYKdJMoL+gzAzIoz3UNEiPOofEVKVqAHSKymAAmkYI7NCuqGqcANag8ABmIjQUXrFOKBJMggBcISGgoAC0oACCbvCwDKgU8JkY7p7ehCTkVDQS2E6gnPCxGcwmZqDSTgzxxWWVoASMFmgYkAAeRJTInN3ymj4d-jSCeNsMq-wuoPaOltigAKoASgAywhK7SbGQZIIz5VWCFzSeCrZagNYbChbHaxUDcCjJZLfSDbExIAgUdxkUBIursJzCFJtXydajBFHsRCgABi8AwAG9FCUSgAhRyKAC+JSAA https://www.typescriptlang.org/play?ssl=12&ssc=1&pln=12&pc=4...