Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebill1049 authored Dec 18, 2020
1 parent 8cdc6a0 commit 0448e4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ export default () => (
You can create a `global.d.ts` file to declare your GlobalState's type.

```ts
import 'little-state-machine';

declare module 'little-state-machine' {
interface GlobalState {
yourDetail: {
Expand Down

0 comments on commit 0448e4e

Please sign in to comment.