Zeitpunkt Nutzer Delta Tröts TNR Titel Version maxTL Mi 24.07.2024 00:01:07 61.956 0 3.574.077 57,7 Fosstodon 4.2.10 500 Di 23.07.2024 00:00:03 61.956 -3 3.570.705 57,6 Fosstodon 4.2.10 500 Mo 22.07.2024 00:01:10 61.959 +1 3.567.825 57,6 Fosstodon 4.2.10 500 So 21.07.2024 00:01:07 61.958 +1 3.564.861 57,5 Fosstodon 4.2.10 500 Sa 20.07.2024 00:01:10 61.957 +1 3.561.604 57,5 Fosstodon 4.2.10 500 Fr 19.07.2024 13:57:34 61.956 -1 3.558.474 57,4 Fosstodon 4.2.10 500 Do 18.07.2024 00:00:27 61.957 +1 3.553.476 57,4 Fosstodon 4.2.10 500 Mi 17.07.2024 00:01:10 61.956 -1 3.550.157 57,3 Fosstodon 4.2.10 500 Di 16.07.2024 00:00:36 61.957 +6 3.547.999 57,3 Fosstodon 4.2.10 500 Mo 15.07.2024 00:00:01 61.951 0 3.544.794 57,2 Fosstodon 4.2.10 500
WetHat💦 (@WetHat) · 11/2022 · Tröts: 826 · Folger: 134
Mi 24.07.2024 19:19
Why do we have const enums in Typescript?
The article highlights how const enums are more efficient as they get inlined during transpilation, avoiding the extra code generation associated with regular enums. This can lead to smaller JavaScript files and faster build times. The author also provides examples and discusses the practical applications of both types of enums.
#TypeScript #Enums #ConstEnums #CodeOptimization Programming
https://www.allthingstypescript.dev/p/why-do-we-have-const-enums-in-typescript
[Öffentlich] Antw.: 0 Wtrl.: 0 Fav.: 0