mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor(es modules): set up alias
This commit is contained in:
parent
f9aeaddf52
commit
11df349394
4 changed files with 15 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import {UINT16_MAX, UINT32_MAX, UINT8_MAX} from "../constants";
|
||||
import {UINT8_MAX, UINT16_MAX, UINT32_MAX} from "@/constants";
|
||||
|
||||
export function last<T>(array: T[]) {
|
||||
return array[array.length - 1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue