refactor: clean up global variable declarations and improve type definitions

This commit is contained in:
Marc Emmanuel 2026-01-25 19:13:02 +01:00
parent 613e826133
commit 3ed3d0dbd8
8 changed files with 105 additions and 177 deletions

View file

@ -2,14 +2,9 @@ import { PackedGraphFeature } from "./features";
import { min, mean } from "d3";
import { byId,
rn } from "../utils";
import { PackedGraph } from "./PackedGraph";
declare global {
var Lakes: LakesModule;
var pack: PackedGraph;
var Names: any;
var heightExponentInput: HTMLInputElement;
}
export class LakesModule {