mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-05 10:01:24 +01:00
refactor: clean up global variable declarations and improve type definitions
This commit is contained in:
parent
613e826133
commit
3ed3d0dbd8
8 changed files with 105 additions and 177 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue