mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-21 14:20:06 +08:00
fix: type
This commit is contained in:
parent
4592bf7817
commit
2c6a6ba440
@ -0,0 +1 @@
|
|||||||
|
import '@/universal/napcat';
|
||||||
6
src/universal/LiteLoader.d.ts
vendored
Normal file
6
src/universal/LiteLoader.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
declare global {
|
||||||
|
namespace globalThis {
|
||||||
|
var LiteLoader: Symbol;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {}
|
||||||
@ -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();
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user