Add explicit type annotations to AST traversal paths

Updated the performance monitor Vite plugin to add explicit type annotations to AST traversal callback parameters, improving type safety and clarity. Also removed a duplicate import in src/plugin/index.ts.
This commit is contained in:
手瓜一十雪 committed 2025-08-15 19:02:53 +08:00
1 parent 1183fe2057
commit d069374a95
2 files changed
+11 -319

No files matched your search

-1
View File
@@ -1,6 +1,5 @@
import { NapCatOneBot11Adapter, OB11Message } from '@/onebot';
import { ChatType, NapCatCore } from '@/core';
import { ChatType, NapCatCore } from '@/core';
import { ActionMap } from '@/onebot/action';
import { OB11PluginAdapter } from '@/onebot/network/plugin';