TeaSpeak-Client/modules/renderer-manifest/preload.ts
2020-10-01 10:56:22 +02:00

12 lines
433 B
TypeScript

/* preloaded script, init hook will be called before the loader will be executed */
declare global {
interface Window {
__native_client_init_hook: () => void;
__native_client_init_shared: (webpackRequire: any) => void;
}
}
window.__native_client_init_hook = () => require("./index").initialize();
window.__native_client_init_shared = webpackRequire => window["shared-require"] = webpackRequire;
export = {};