Skip to content

Commit

Permalink
docs: Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gvergnaud committed Jul 12, 2023
1 parent d1d638f commit 16b71a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@ const posts = await fetch(someUrl)
);
```

Although not strictly necessary, using `as const` after the pattern definition ensures that TS-Pattern infers the most precise types possible in handler functions.
Although not strictly necessary, using `as const` after the pattern definition ensures that TS-Pattern infers the most precise types possible.

### `P.Pattern`

Expand Down

0 comments on commit 16b71a5

Please sign in to comment.