mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
These variables were intended to be globals declare in the global namespace. That this ends up on the window object is an implementation detail of JavaScript. Remove the window. prefix put in front of staticRoot and webRoot and include the global declaration in the TypeScript module.
11 lines
276 B
TypeScript
11 lines
276 B
TypeScript
declare module "*.png" {
|
|
const value: string;
|
|
export default value;
|
|
}
|
|
|
|
declare const webRoot: string;
|
|
declare const staticRoot: string;
|
|
|
|
declare const __webpack_init_sharing__: (shareScope: string) => Promise<void>;
|
|
declare const __webpack_share_scopes__: { default: any };
|