LLOneBot/src/global.d.ts
2024-02-19 13:31:57 +08:00

15 lines
271 B
TypeScript

import {Config} from "./common/types";
declare var llonebot: {
log(data: any): void,
setConfig(config: Config):void;
getConfig():Promise<Config>;
};
declare global {
interface Window {
llonebot: typeof llonebot;
LiteLoader: any;
}
}