docs(typescript): fix minor grammar issue (#1009)

This commit is contained in:
guilleon-velasco 2022-06-15 18:19:28 +08:00 committed by GitHub
parent 2b698fb249
commit e220737042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
## Basic usage
When using TypeScript you just have to make a tiny change that instead of writing `create(...)` you'll have to write `create<T>()(...)` where `T` would be type of the state so as to annotate it. Example...
The difference when using TypeScript is instead of writing `create(...)`, you have to write `create<T>()(...)` where `T` would be type of the state so as to annotate it. Example...
```ts
import create from 'zustand'