feat: completion base func

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-01-15 16:44:14 +08:00
parent 9cb614bebd
commit d724feaec0

View File

@ -16,7 +16,11 @@ declare global {
var ScriptEngineContextHolder: any; var ScriptEngineContextHolder: any;
function engineLoad(str: string): any; function engineLoad(str: string): any;
interface Core { interface Core {
getClass(name: String); getClass(name: String): any;
getInstance(): any;
read(path: string): string;
save(path: string, content: string): void;
delete(path: string): void;
} }
interface Console { interface Console {
ex(err: Error): void; ex(err: Error): void;