1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/global.d.ts
Dmitry Lyzo 2d8d23d646 Convert defines to boolean
Fixes disabling features as `USE_SYSTEM_FONTS=0`.
2024-08-16 11:13:34 +03:00

24 lines
577 B
TypeScript

export declare global {
import { ApiClient, Events } from 'jellyfin-apiclient';
interface Window {
ApiClient: ApiClient;
Events: Events;
NativeShell: any;
Loading: {
show();
hide();
}
}
interface DocumentEventMap {
'viewshow': CustomEvent;
}
const __COMMIT_SHA__: string;
const __JF_BUILD_VERSION__: string;
const __PACKAGE_JSON_NAME__: string;
const __PACKAGE_JSON_VERSION__: string;
const __USE_SYSTEM_FONTS__: boolean;
const __WEBPACK_SERVE__: boolean;
}