From 0448e4edfd341d43b8063fe58f38179f7aae3228 Mon Sep 17 00:00:00 2001 From: Bill Date: Fri, 18 Dec 2020 22:26:01 +1100 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 66b2af2..906da06 100644 --- a/README.md +++ b/README.md @@ -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: {