Update import paths and remove plugin tsconfig

Changed import paths in example-plugin to use alias '@' instead of relative paths. Deleted the example-plugin/tsconfig.json file, likely consolidating TypeScript configuration or relying on a root config.
This commit is contained in:
手瓜一十雪 committed 2025-09-02 22:48:01 +08:00
1 parent 0ab8d025bf
commit 1fe822cd20
2 files changed
+2 -115

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { EventType } from "../onebot/event/OneBotEvent";
import type { PluginModule } from "../onebot/network/plugin-manger";
import { EventType } from "@/onebot/event/OneBotEvent";
import type { PluginModule } from "@/onebot/network/plugin-manger";
const plugin_init: PluginModule["plugin_init"] = async (_core, _obContext, _actions, _instance) => {
console.log(`[Plugin: example] 插件已初始化`);