Skip to content

Commit d3c8fb6

Browse files
committed
Add note about typescript module augmentation
1 parent af26b60 commit d3c8fb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ declare module "valtio" {
6060
}
6161
```
6262

63+
Note: this should go in a normal `.ts`/`.tsx` file and not in a `.d.ts` file.
64+
6365
See [#327](https://github.com/pmndrs/valtio/issues/327) for more information.
6466
</details>
6567

0 commit comments

Comments
 (0)