Skip to content

Commit cf9b27e

Browse files
committed
Extend common interface
1 parent 6e53102 commit cf9b27e

File tree

1 file changed

+1
-43
lines changed
  • lib/node_modules/@stdlib/random/base/arcsine/docs/types

1 file changed

+1
-43
lines changed

lib/node_modules/@stdlib/random/base/arcsine/docs/types/index.d.ts

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ interface Binary extends PRNG {
123123
/**
124124
* Interface for generating pseudorandom numbers drawn from an arcsine distribution.
125125
*/
126-
interface Random {
126+
interface Random extends PRNG {
127127
/**
128128
* Returns an arcsine distributed pseudorandom number with minimum support `a` and maximum support `b`.
129129
*
@@ -201,48 +201,6 @@ interface Random {
201201
* // returns <number>
202202
*/
203203
factory( options?: Options ): Binary;
204-
205-
/**
206-
* Generator name.
207-
*/
208-
readonly NAME: string;
209-
210-
/**
211-
* Underlying pseudorandom number generator.
212-
*/
213-
readonly PRNG: random.PRNG;
214-
215-
/**
216-
* PRNG seed.
217-
*/
218-
readonly seed: random.PRNGSeedMT19937;
219-
220-
/**
221-
* PRNG seed length.
222-
*/
223-
readonly seedLength: number;
224-
225-
/**
226-
* PRNG state.
227-
*/
228-
state: random.PRNGStateMT19937;
229-
230-
/**
231-
* PRNG state length.
232-
*/
233-
readonly stateLength: number;
234-
235-
/**
236-
* PRNG state size (in bytes).
237-
*/
238-
readonly byteLength: number;
239-
240-
/**
241-
* Serializes the pseudorandom number generator as a JSON object.
242-
*
243-
* @returns out - JSON representation.
244-
*/
245-
toJSON(): string;
246204
}
247205

248206
/**

0 commit comments

Comments
 (0)