File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ npm install && npm test
80
80
81
81
### 2.4.0
82
82
- Included a PRNG based on ALEA to directly allow seeding
83
+ - Included typescript definitions
83
84
84
85
### 2.3.0
85
86
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ declare module 'simplex-noise'
9
9
/**
10
10
* Creates a new `SimplexNoise` instance. You want to use this sparingly, as it is a relatively
11
11
* expensive.
12
- * @param {SimplexNoise.RandomNumberGenerator } [random=Math.random] - The random number
12
+ * @param {SimplexNoise.RandomNumberGenerator | string } [random=Math.random] - The random number
13
13
* generator to use. This argument could e.g. be used to inject a seeded generator.
14
14
*/
15
- constructor ( random ?: SimplexNoise . RandomNumberGenerator ) ;
15
+ constructor ( random ?: SimplexNoise . RandomNumberGenerator | string ) ;
16
16
17
17
/**
18
18
* Calculates the noise value in the range [-1;1] for the given point in a 2D space.
You can’t perform that action at this time.
0 commit comments