typo-fix: typescript roadmap update 108-enum.md (#5030)

pull/5052/head
Marco Malvicini 10 months ago committed by GitHub
parent 5cf7aa340f
commit 2d2f670153
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/data/roadmaps/typescript/content/101-typescript-types/108-enum.md

@ -1,6 +1,6 @@
# Enum # Enum
Enums is not a type-level extension of JavaScript. It allow a developer to define a set of named constants. Using enums can make it easier to document intent, or create a set of distinct cases. TypeScript provides both numeric and string-based enums. Enums is not a type-level extension of JavaScript. It allows a developer to define a set of named constants. Using enums can make it easier to document intent, or create a set of distinct cases. TypeScript provides both numeric and string-based enums.
Here is an example of a numeric enum in TypeScript: Here is an example of a numeric enum in TypeScript:

Loading…
Cancel
Save