Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Apr 22, 2022
1 parent 691350e commit 168b6d8
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ console.log(Winter) // 'winter'
console.log(Spring) // 'spring'
```

### Numeric
### Numerics

```
import Enum from 'enum-xyz'
Expand All @@ -51,7 +51,7 @@ console.log(C) // 2
console.log(D) // 3
```

### Numeric Starting at Index
### Numerics Starting at Index

```
import Enum from 'enum-xyz'
Expand All @@ -62,4 +62,15 @@ console.log(A) // 1
console.log(B) // 2
console.log(C) // 3
console.log(D) // 4
```

### Symbols

```
import Enum from 'enum-xyz'
const { blue, red } = Enum.Symbol
console.log(blue) // Symbol(blue)
console.log(red) // Symbol(red)
```

0 comments on commit 168b6d8

Please sign in to comment.