From e1a35b63b38e511c62c417430c4546f634fa50d7 Mon Sep 17 00:00:00 2001 From: Artea Date: Sun, 3 Aug 2025 21:54:05 +0800 Subject: [PATCH] chore(devtool): remove `as any` (#4881) --- src/client/app/devtools.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/app/devtools.ts b/src/client/app/devtools.ts index 54998fb1..cbc0fd3b 100644 --- a/src/client/app/devtools.ts +++ b/src/client/app/devtools.ts @@ -21,8 +21,7 @@ export const setupDevtools = ( componentStateTypes: [COMPONENT_STATE_TYPE] }, (api) => { - // TODO: remove any - api.on.inspectComponent((payload: any) => { + api.on.inspectComponent((payload) => { payload.instanceData.state.push({ type: COMPONENT_STATE_TYPE, key: 'route',