Fix webpack project compilation for TypeScript 2.1.

Add __requireOverride as an optional `global` member.
This commit is contained in:
Hristo Deshev
2017-02-16 16:58:59 +02:00
parent a11f4ffb11
commit 20c846e966

View File

@ -18,6 +18,7 @@ declare namespace NodeJS {
__onLiveSync: () => void;
__onUncaughtError: (error: NativeScriptError) => void;
TNS_WEBPACK?: boolean;
__requireOverride?: (name: string, dir: string) => any;
}
}