9e9baf49b3
Adds a type definition for the variables added to the global scope. Personally i'd probably stick them in an object off the route and drop the G_prefix but didn't want to make any major changes with no reason. Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/398 Co-authored-by: Alex McAuliffe <alex@romanx.co.uk> Co-committed-by: Alex McAuliffe <alex@romanx.co.uk> (cherry picked from commit 18d39224a9c3beb284fde65da6c20d416e9b5b50)
15 lines
346 B
TypeScript
15 lines
346 B
TypeScript
export type {};
|
|
|
|
declare global {
|
|
var G_DEBUG_CONFIGURATION: boolean;
|
|
var G_RELEASE_CONFIGURATION: boolean;
|
|
var G_MODS_ENABLED: boolean;
|
|
var G_MODS_TRANSPILE_TS: boolean;
|
|
var G_LOG_REQUESTS: boolean;
|
|
var G_WATERMARK_ENABLED: boolean;
|
|
|
|
var G_SPTVERSION: string;
|
|
var G_COMMIT: string;
|
|
var G_BUILDTIME: number;
|
|
}
|