refactor(es modules): set src as TS base folder

This commit is contained in:
Azgaar 2022-06-27 01:22:30 +03:00
parent 0d05e1b250
commit 32d7db765d
8 changed files with 33 additions and 40 deletions

View file

@ -1,4 +1,4 @@
import {UINT8_MAX, UINT16_MAX, UINT32_MAX} from "../constants";
import {UINT16_MAX, UINT32_MAX, UINT8_MAX} from "../constants";
export function last<T>(array: T[]) {
return array[array.length - 1];

View file

@ -3,9 +3,9 @@ import {TIME} from "../config/logging";
import {createTypedArray} from "./arrayUtils";
import {rn} from "./numberUtils";
import {byId} from "./shorthands";
import {Voronoi} from "/src/modules/voronoi";
const Delaunator = window.Delaunator;
const Voronoi = window.Voronoi;
const graphWidth = window.graphWidth;
const graphHeight = window.graphHeight;