diff --git a/README.md b/README.md index c5c9011..e12ac0d 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ ## installation ```bash +yarn add valtio yarn add @jswork/next-react-valtio ``` diff --git a/index.d.ts b/index.d.ts index 000afc1..7ae5423 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,3 +1,4 @@ interface NxStatic { ReactValtio: any; + $valtio: (initialState: T) => { store: T; state: T }; }