From 10a882c22a3f94f9e781d1c3708446c3ea90223d Mon Sep 17 00:00:00 2001 From: gmqiyue Date: Wed, 31 Jul 2024 09:50:00 +0800 Subject: [PATCH] fix(icestark): fix AppRouter props type #667 (#746) Co-authored-by: fiyueyue --- packages/icestark/src/AppRouter.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/icestark/src/AppRouter.tsx b/packages/icestark/src/AppRouter.tsx index 6c7426b1..04c3d497 100644 --- a/packages/icestark/src/AppRouter.tsx +++ b/packages/icestark/src/AppRouter.tsx @@ -43,7 +43,7 @@ interface AppRouterState { started: boolean; } -export default class AppRouter extends React.Component { +export default class AppRouter extends React.Component, AppRouterState> { static defaultProps = { onRouteChange: () => {}, // eslint-disable-next-line react/jsx-filename-extension