fix: type

This commit is contained in:
手瓜一十雪
2025-01-20 16:47:06 +08:00
parent 4592bf7817
commit 2c6a6ba440
3 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1 @@
import '@/universal/napcat';

6
src/universal/LiteLoader.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
declare global {
namespace globalThis {
var LiteLoader: Symbol;
}
}
export {}

View File

@@ -1,7 +1,6 @@
import { NCoreInitShell } from "@/shell/base"; import { NCoreInitShell } from "@/shell/base";
export * from "@/framework/napcat"; export * from "@/framework/napcat";
export * from "@/shell/base"; export * from "@/shell/base";
if ((global as any).LiteLoader == undefined) { if (global.LiteLoader == undefined) {
NCoreInitShell(); NCoreInitShell();
} }