From 6d3420e77bf47a4f2a6f385b83d57db037828733 Mon Sep 17 00:00:00 2001 From: DiamondYuan Date: Mon, 27 May 2019 18:44:54 +0800 Subject: [PATCH] fix: value of models and effects in DvaLoadingState could be undefined --- packages/dva-loading/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dva-loading/index.d.ts b/packages/dva-loading/index.d.ts index ea5d2107..9bbca841 100644 --- a/packages/dva-loading/index.d.ts +++ b/packages/dva-loading/index.d.ts @@ -1,5 +1,5 @@ export interface DvaLoadingState { global: boolean; - models: { [type: string]: boolean }; - effects: { [type: string]: boolean }; + models: { [type: string]: boolean | undefined }; + effects: { [type: string]: boolean | undefined }; }