mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Fix webpack project compilation for TypeScript 2.1.
Add __requireOverride as an optional `global` member.
This commit is contained in:
1
tns-core-modules/module.d.ts
vendored
1
tns-core-modules/module.d.ts
vendored
@ -18,6 +18,7 @@ declare namespace NodeJS {
|
|||||||
__onLiveSync: () => void;
|
__onLiveSync: () => void;
|
||||||
__onUncaughtError: (error: NativeScriptError) => void;
|
__onUncaughtError: (error: NativeScriptError) => void;
|
||||||
TNS_WEBPACK?: boolean;
|
TNS_WEBPACK?: boolean;
|
||||||
|
__requireOverride?: (name: string, dir: string) => any;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user