1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 23:37:51 +01:00
openstamanager/resources/js/globals.d.ts
Maicol Battistini bda53b272a refactor: ♻️ Refactor generale
- Fix problemi rilevati da ESLint (per togliere alcune regole commentate)
- Spostati i tipi nella cartella typings
- Aggiunti alcuni alias per la cartella resources
2022-01-26 16:24:20 +01:00

22 lines
604 B
TypeScript

/* 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';
import {OpenSTAManager} from './typings/modules';
import type {__ as translator} from './utils';
declare global {
let importPath: string;
let translations: Record<string, string>;
let modules: Record<string, OpenSTAManager.Modules>;
const route: typeof router;
var $: typeof cash;
var m: typeof Mithril;
// eslint-disable-next-line @typescript-eslint/naming-convention
var __: typeof translator;
}