From 2d2f670153b9f63643bdca6cb057c643011e5260 Mon Sep 17 00:00:00 2001 From: Marco Malvicini <63559979+Malv93@users.noreply.github.com> Date: Thu, 18 Jan 2024 07:57:33 +0100 Subject: [PATCH] typo-fix: typescript roadmap update 108-enum.md (#5030) --- .../typescript/content/101-typescript-types/108-enum.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/roadmaps/typescript/content/101-typescript-types/108-enum.md b/src/data/roadmaps/typescript/content/101-typescript-types/108-enum.md index 043e28b0e..ffe97f474 100644 --- a/src/data/roadmaps/typescript/content/101-typescript-types/108-enum.md +++ b/src/data/roadmaps/typescript/content/101-typescript-types/108-enum.md @@ -1,6 +1,6 @@ # 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: