File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
lib/node_modules/@stdlib/stats/base/ztest/one-sample/results Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 18
18
19
19
// TypeScript Version: 4.1
20
20
21
+ /**
22
+ * Alternative hypothesis.
23
+ */
24
+ type Alternative = 'two-sided' | 'greater' | 'less' ;
25
+
21
26
/**
22
27
* Interface describing test results.
23
28
*/
@@ -30,7 +35,7 @@ interface Results {
30
35
/**
31
36
* Alternative hypothesis.
32
37
*/
33
- alternative ?: string ;
38
+ alternative ?: Alternative ;
34
39
35
40
/**
36
41
* Significance level.
@@ -85,7 +90,7 @@ declare class ResultsStruct {
85
90
/**
86
91
* Alternative hypothesis.
87
92
*/
88
- alternative : string ;
93
+ alternative : Alternative ;
89
94
90
95
/**
91
96
* Significance level.
Original file line number Diff line number Diff line change 18
18
19
19
// TypeScript Version: 4.1
20
20
21
+ /**
22
+ * Alternative hypothesis.
23
+ */
24
+ type Alternative = 'two-sided' | 'greater' | 'less' ;
25
+
21
26
/**
22
27
* Interface describing test results.
23
28
*/
@@ -30,7 +35,7 @@ interface Results {
30
35
/**
31
36
* Alternative hypothesis.
32
37
*/
33
- alternative ?: string ;
38
+ alternative ?: Alternative ;
34
39
35
40
/**
36
41
* Significance level.
@@ -85,7 +90,7 @@ declare class ResultsStruct {
85
90
/**
86
91
* Alternative hypothesis.
87
92
*/
88
- alternative : string ;
93
+ alternative : Alternative ;
89
94
90
95
/**
91
96
* Significance level.
You can’t perform that action at this time.
0 commit comments