* Updated events to be more specific * Update more events * Update globalmousepos * Update themes and submap module to show submap name. * Type fixes * Reworked menu position calculation logic to be much more efficient. * Revert import file location * We luv arrow functions * Remove globalMousePos remnants since it's unused. * Added the ability to configure menu dropdown transition and duration. * Fix type
15 lines
378 B
TypeScript
15 lines
378 B
TypeScript
// globals.d.ts
|
|
/* eslint-disable no-var */
|
|
|
|
import { Options, Variable as VariableType } from 'types/variable';
|
|
|
|
declare global {
|
|
var useTheme: (filePath: string) => void;
|
|
var isWindowVisible: (windowName: string) => boolean;
|
|
var globalWeatherVar: VariableType<Weather>;
|
|
var options: Options;
|
|
var removingNotifications: VariableType<boolean>;
|
|
}
|
|
|
|
export {};
|