Added strict type checking to the project. (#236)
* Implement strict typing (WIP). * changes * Finish type checks * Fix notification icon, matugen settings and update tsconfig. * OSD Styling updates and added the ability to configure OSD duration.
This commit is contained in:
5
globals.d.ts
vendored
5
globals.d.ts
vendored
@@ -1,9 +1,12 @@
|
||||
// globals.d.ts
|
||||
|
||||
import { Variable as VariableType } from "types/variable";
|
||||
import { Options, Variable as VariableType } from "types/variable";
|
||||
|
||||
declare global {
|
||||
var globalMousePos: VariableType<number[]>;
|
||||
var useTheme: Function;
|
||||
var globalWeatherVar: VariableType<Weather>;
|
||||
var options: Options
|
||||
}
|
||||
|
||||
export { };
|
||||
|
||||
Reference in New Issue
Block a user