2022-01-07 11:04:02 +01:00
|
|
|
/* eslint-disable no-var,vars-on-top */
|
|
|
|
// noinspection ES6ConvertVarToLetConst
|
|
|
|
|
|
|
|
import type cash from 'cash-dom';
|
|
|
|
import type Mithril from 'mithril';
|
|
|
|
import type router from 'ziggy-js';
|
|
|
|
|
2022-01-26 16:24:20 +01:00
|
|
|
import {OpenSTAManager} from './typings/modules';
|
2022-01-07 11:04:02 +01:00
|
|
|
import type {__ as translator} from './utils';
|
|
|
|
|
|
|
|
declare global {
|
2022-01-10 21:42:15 +01:00
|
|
|
let importPath: string;
|
2022-01-25 12:53:15 +01:00
|
|
|
let translations: Record<string, string>;
|
|
|
|
let modules: Record<string, OpenSTAManager.Modules>;
|
2022-01-07 11:04:02 +01:00
|
|
|
const route: typeof router;
|
|
|
|
|
|
|
|
var $: typeof cash;
|
|
|
|
var m: typeof Mithril;
|
|
|
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
|
|
var __: typeof translator;
|
|
|
|
}
|