feat: use dom types and set Proxy global

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-02-02 01:56:45 +08:00
parent a47896a97f
commit 6c0bb75561
5 changed files with 6 additions and 7 deletions

View File

@@ -1,4 +1,3 @@
import { XMLHttpRequest as xhr } from './xml-http-request'
declare global {
namespace NodeJS {
interface Global {
@@ -13,7 +12,6 @@ declare global {
}
var root: string;
var base: Core;
var XMLHttpRequest: typeof xhr;
var ScriptEngineContextHolder: any;
function engineLoad(str: string): any;
interface Core {