File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 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
8080
8181### 2.4.0
8282- Included a PRNG based on ALEA to directly allow seeding
83+ - Included typescript definitions
8384
8485### 2.3.0
8586
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ declare module 'simplex-noise'
99 /**
1010 * Creates a new `SimplexNoise` instance. You want to use this sparingly, as it is a relatively
1111 * expensive.
12- * @param {SimplexNoise.RandomNumberGenerator } [random=Math.random] - The random number
12+ * @param {SimplexNoise.RandomNumberGenerator | string } [random=Math.random] - The random number
1313 * generator to use. This argument could e.g. be used to inject a seeded generator.
1414 */
15- constructor ( random ?: SimplexNoise . RandomNumberGenerator ) ;
15+ constructor ( random ?: SimplexNoise . RandomNumberGenerator | string ) ;
1616
1717 /**
1818 * 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