feat: completion base func

Signed-off-by: MiaoWoo <admin@yumc.pw>
clean
MiaoWoo 2020-01-15 16:44:14 +08:00
parent 9cb614bebd
commit d724feaec0
1 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,11 @@ declare global {
var ScriptEngineContextHolder: any;
function engineLoad(str: string): any;
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 {
ex(err: Error): void;