From 07f5532dad4322c0f56d0472026e54d461c52d2e Mon Sep 17 00:00:00 2001 From: Artea Date: Sun, 3 Aug 2025 21:22:55 +0800 Subject: [PATCH] chore(devtool): remove `as any` --- 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 54998fb13b29..cbc0fd3b3a5b 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',