Skip to content

Commit

Permalink
docs: fix minor typo (#2439)
Browse files Browse the repository at this point in the history
  • Loading branch information
kerolloz committed May 17, 2023
1 parent 00f5783 commit 0a17340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -974,7 +974,7 @@ FruitEnum.parse("Cantaloupe"); // fails

**Const enums**

The `.nativeEnum()` function works for `as const` objects as well. ⚠️ `as const` required TypeScript 3.4+!
The `.nativeEnum()` function works for `as const` objects as well. ⚠️ `as const` requires TypeScript 3.4+!

```ts
const Fruits = {
Expand Down

0 comments on commit 0a17340

Please sign in to comment.