Skip to content

Commit

Permalink
Update rules/typescript-enums/rule.md
Browse files Browse the repository at this point in the history
Formatted enum

Co-authored-by: Matt Wicks [SSW] <[email protected]>
  • Loading branch information
Harry-Ross and wicksipedia authored Mar 26, 2024
1 parent dfecef8 commit 21d8931
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rules/typescript-enums/rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ While TypeScript enums provide a lot of useful type safety at runtime, it's very

```ts
enum Fruits {
Apple, Banana, Cherry
Apple,
Banana,
Cherry
}
```

Expand Down

0 comments on commit 21d8931

Please sign in to comment.