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:
1 parent
0ab8d025bf
commit
1fe822cd20
2 files changed
+2
-115
No files matched your search
@@ -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] 插件已初始化`);
|
||||
|
||||
Reference in new issue
Block a user