refactor(es modules): set up alias

This commit is contained in:
Azgaar 2022-06-26 14:06:49 +03:00
parent f9aeaddf52
commit 11df349394
4 changed files with 15 additions and 4 deletions

View file

@ -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];