mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
refactor(es modules): continue migration
This commit is contained in:
parent
97f2b213c4
commit
030caec6e8
23 changed files with 61 additions and 42 deletions
|
|
@ -23,7 +23,7 @@ function getTypedArray(maxValue: number) {
|
|||
interface ICreateTypedArray {
|
||||
maxValue: number;
|
||||
length: number;
|
||||
from: ArrayLike<number>;
|
||||
from?: ArrayLike<number>;
|
||||
}
|
||||
|
||||
export function createTypedArray({maxValue, length, from}: ICreateTypedArray) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue