style: format file

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-09-27 18:40:35 +08:00
parent 7f21fa67ee
commit 99ed76f9bb
3 changed files with 47 additions and 38 deletions

View File

@ -1,3 +1,5 @@
import { XMLHttpRequest as xhr } from '@ms/ployfill'
declare global {
namespace NodeJS {
interface Global {
@ -5,10 +7,12 @@ declare global {
debug: boolean;
noop: Function;
console: Console;
XMLHttpRequest: typeof xhr;
}
}
var root: string;
var base: Core;
var XMLHttpRequest: typeof xhr;
var ScriptEngineContextHolder: any;
function engineLoad(str: string): any;
interface Core {