Skip to content

Commit 54144b5

Browse files
committed
Rename interface
1 parent 1bb3a60 commit 54144b5

File tree

34 files changed

+104
-104
lines changed

34 files changed

+104
-104
lines changed

lib/node_modules/@stdlib/stats/anova1/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ interface ErrorResult {
7575
/**
7676
* Test result.
7777
*/
78-
interface Output {
78+
interface Results {
7979
/**
8080
* Used significance level.
8181
*/
@@ -142,7 +142,7 @@ interface Output {
142142
* var out = anova1( x, f );
143143
* // returns {...}
144144
*/
145-
declare function anova1( x: NumericArray, y: Array<any>, options?: Options ): Output; // tslint-disable-line max-line-length
145+
declare function anova1( x: NumericArray, y: Array<any>, options?: Options ): Results; // tslint-disable-line max-line-length
146146

147147

148148
// EXPORTS //

lib/node_modules/@stdlib/stats/anova1/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import anova1 = require( './index' );
2525
{
2626
const x = [ 1, 3, 5, 2, 4, 6, 8, 7, 10, 11, 12, 15 ];
2727
const f = [ 'D', 'A', 'B', 'C', 'D', 'A', 'B', 'C', 'D', 'A', 'B', 'C' ];
28-
anova1( x, f ); // $ExpectType Output
29-
anova1( x, f, { 'alpha': 0.1 } ); // $ExpectType Output
28+
anova1( x, f ); // $ExpectType Results
29+
anova1( x, f, { 'alpha': 0.1 } ); // $ExpectType Results
3030
}
3131

3232
// The function does not compile if provided a first argument that is not a numeric array...

lib/node_modules/@stdlib/stats/bartlett-test/docs/types/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ interface Options {
4040
/**
4141
* Test result.
4242
*/
43-
interface Output {
43+
interface Results {
4444
/**
4545
* Used significance level.
4646
*/
@@ -104,7 +104,7 @@ interface Output {
104104
* });
105105
* // returns {...}
106106
*/
107-
declare function bartlettTest( arr0: NumericArray, options?: Options ): Output;
107+
declare function bartlettTest( arr0: NumericArray, options?: Options ): Results;
108108

109109
/**
110110
* Compute Bartlett’s test for equal variances.
@@ -124,7 +124,7 @@ declare function bartlettTest( arr0: NumericArray, options?: Options ): Output;
124124
* var out = bartlettTest( x, y );
125125
* // returns {...}
126126
*/
127-
declare function bartlettTest( arr0: NumericArray, arr1: NumericArray, options?: Options ): Output; // tslint-disable-line max-line-length
127+
declare function bartlettTest( arr0: NumericArray, arr1: NumericArray, options?: Options ): Results; // tslint-disable-line max-line-length
128128

129129
/**
130130
* Compute Bartlett’s test for equal variances.
@@ -146,7 +146,7 @@ declare function bartlettTest( arr0: NumericArray, arr1: NumericArray, options?:
146146
* var out = bartlettTest( x, y, z );
147147
* // returns {...}
148148
*/
149-
declare function bartlettTest( arr0: NumericArray, arr1: NumericArray, arr2: NumericArray, options?: Options ): Output; // tslint-disable-line max-line-length
149+
declare function bartlettTest( arr0: NumericArray, arr1: NumericArray, arr2: NumericArray, options?: Options ): Results; // tslint-disable-line max-line-length
150150

151151
/**
152152
* Compute Bartlett’s test for equal variances.
@@ -160,7 +160,7 @@ declare function bartlettTest( arr0: NumericArray, arr1: NumericArray, arr2: Num
160160
* @throws must provide valid options
161161
* @returns test results
162162
*/
163-
declare function bartlettTest( arr0: NumericArray, arr1: NumericArray, arr2: NumericArray, arr3: NumericArray, options?: Options ): Output; // tslint-disable-line max-line-length
163+
declare function bartlettTest( arr0: NumericArray, arr1: NumericArray, arr2: NumericArray, arr3: NumericArray, options?: Options ): Results; // tslint-disable-line max-line-length
164164

165165
/**
166166
* Compute Bartlett’s test for equal variances.
@@ -170,7 +170,7 @@ declare function bartlettTest( arr0: NumericArray, arr1: NumericArray, arr2: Num
170170
* @throws must provide valid options
171171
* @returns test results
172172
*/
173-
declare function bartlettTest( arr0: NumericArray, ...args: Array<NumericArray | Options> ): Output; // tslint-disable-line max-line-length
173+
declare function bartlettTest( arr0: NumericArray, ...args: Array<NumericArray | Options> ): Results; // tslint-disable-line max-line-length
174174

175175

176176
// EXPORTS //

lib/node_modules/@stdlib/stats/bartlett-test/docs/types/test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ import bartlettTest = require( './index' );
2525
{
2626
let x = [ 1, 3, 5, 2, 4, 6, 8, 7, 10, 11, 12, 15 ];
2727
const g = [ 'D', 'A', 'B', 'C', 'D', 'A', 'B', 'C', 'D', 'A', 'B', 'C' ];
28-
bartlettTest( x, { 'groups': g } ); // $ExpectType Output
28+
bartlettTest( x, { 'groups': g } ); // $ExpectType Results
2929

3030
x = [ 2.9, 3.0, 2.5, 2.6, 3.2 ];
3131
const y = [ 3.8, 2.7, 4.0, 2.4 ];
3232
const z = [ 2.8, 3.4, 3.7, 2.2, 2.0 ];
33-
bartlettTest( x, y, z ); // $ExpectType Output
34-
bartlettTest( x, y, z, { 'alpha': 0.1 } ); // $ExpectType Output
33+
bartlettTest( x, y, z ); // $ExpectType Results
34+
bartlettTest( x, y, z, { 'alpha': 0.1 } ); // $ExpectType Results
3535
}
3636

3737
// The function does not compile if provided a first argument that is not a numeric array...

lib/node_modules/@stdlib/stats/binomial-test/docs/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ interface Options {
4646
/**
4747
* Test result.
4848
*/
49-
interface Output {
49+
interface Results {
5050
/**
5151
* Used significance level.
5252
*/
@@ -119,7 +119,7 @@ interface BinomialTest {
119119
* });
120120
* // returns {...}
121121
*/
122-
( x: number, n: number, options?: Options ): Output;
122+
( x: number, n: number, options?: Options ): Results;
123123

124124
/**
125125
* Computes an exact test for the success probability in a Bernoulli experiment.
@@ -142,7 +142,7 @@ interface BinomialTest {
142142
* });
143143
* // returns {...}
144144
*/
145-
( x: Tuple, options?: Options ): Output;
145+
( x: Tuple, options?: Options ): Results;
146146
}
147147

148148

lib/node_modules/@stdlib/stats/binomial-test/docs/types/test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ import binomialTest = require( './index' );
2323

2424
// The function returns a test result object...
2525
{
26-
binomialTest( 682, 925 ); // $ExpectType Output
27-
binomialTest( [ 682, 243 ] ); // $ExpectType Output
28-
binomialTest( 682, 925, { 'alpha': 0.1 } ); // $ExpectType Output
29-
binomialTest( [ 682, 243 ], { 'p': 0.75 } ); // $ExpectType Output
26+
binomialTest( 682, 925 ); // $ExpectType Results
27+
binomialTest( [ 682, 243 ] ); // $ExpectType Results
28+
binomialTest( 682, 925, { 'alpha': 0.1 } ); // $ExpectType Results
29+
binomialTest( [ 682, 243 ], { 'p': 0.75 } ); // $ExpectType Results
3030
}
3131

3232
// The function does not compile if provided a first argument that is neither a number nor a two-element number array...

lib/node_modules/@stdlib/stats/chi2gof/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ interface Options {
5151
/**
5252
* Test result object.
5353
*/
54-
interface Output {
54+
interface Results {
5555
/**
5656
* Used significance level.
5757
*/
@@ -116,7 +116,7 @@ interface Output {
116116
* var o = out.toJSON();
117117
* // returns { 'pValue': ~0.0406, 'statistic': ~9.9901, ... }
118118
*/
119-
declare function chi2gof( x: NumericArray | ndarray, y: NumericArray | ndarray | string, ...args: Array<number | Options> ): Output; // tslint-disable-line max-line-length
119+
declare function chi2gof( x: NumericArray | ndarray, y: NumericArray | ndarray | string, ...args: Array<number | Options> ): Results; // tslint-disable-line max-line-length
120120

121121

122122
// EXPORTS //

lib/node_modules/@stdlib/stats/chi2gof/docs/types/test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import chi2gof = require( './index' );
2525
{
2626
const x = [ 89, 37, 30, 28, 2 ];
2727
const p = [ 0.40, 0.20, 0.20, 0.15, 0.05 ];
28-
chi2gof( x, p ); // $ExpectType Output
29-
chi2gof( x, p, { 'ddof': 1 } ); // $ExpectType Output
30-
chi2gof( x, 'discrete-uniform', 0, 99 ); // $ExpectType Output
28+
chi2gof( x, p ); // $ExpectType Results
29+
chi2gof( x, p, { 'ddof': 1 } ); // $ExpectType Results
30+
chi2gof( x, 'discrete-uniform', 0, 99 ); // $ExpectType Results
3131
}
3232

3333
// The function does not compile if provided a first argument that is not a numeric array or ndarray...

lib/node_modules/@stdlib/stats/chi2test/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ interface Options {
4040
/**
4141
* Test result.
4242
*/
43-
interface Output {
43+
interface Results {
4444
/**
4545
* Used significance level.
4646
*/
@@ -99,7 +99,7 @@ interface Output {
9999
* var out = chi2test( x );
100100
* // returns { 'rejected': false, 'alpha': 0.05, 'pValue': ~0.072, ... }
101101
*/
102-
declare function chi2test( x: ndarray | Array<Array<number>>, options?: Options ): Output; // tslint-disable-line max-line-length
102+
declare function chi2test( x: ndarray | Array<Array<number>>, options?: Options ): Results; // tslint-disable-line max-line-length
103103

104104

105105
// EXPORTS //

lib/node_modules/@stdlib/stats/chi2test/docs/types/test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ import chi2test = require( './index' );
2323

2424
// The function returns a test result object...
2525
{
26-
chi2test( [ [ 20, 30 ], [ 30, 20 ] ] ); // $ExpectType Output
27-
chi2test( [ [ 20, 30 ], [ 30, 20 ] ], { 'alpha': 0.1 } ); // $ExpectType Output
28-
chi2test( [ [ 20, 30 ], [ 30, 20 ] ], { 'correct': false } ); // $ExpectType Output
26+
chi2test( [ [ 20, 30 ], [ 30, 20 ] ] ); // $ExpectType Results
27+
chi2test( [ [ 20, 30 ], [ 30, 20 ] ], { 'alpha': 0.1 } ); // $ExpectType Results
28+
chi2test( [ [ 20, 30 ], [ 30, 20 ] ], { 'correct': false } ); // $ExpectType Results
2929
}
3030

3131
// The function does not compile if provided a value other than an array of numeric arrays or ndarray...

0 commit comments

Comments
 (0)