diff --git a/README.md b/README.md index ca8d76b..7d6d94b 100644 --- a/README.md +++ b/README.md @@ -248,8 +248,8 @@ export const store = create( }); } }), -+ { worker } -); ++ { worker } + ); ``` > If you use TypeScript, then you should be aware of the difference between the two different store types. In the webpage context, it's AsyncStore (because its methods will become asynchronous, and these methods will be proxied to the worker for execution). In the worker context, it's Store. You can see [the reusable store example](examples/vanilla-base/src/store.ts).