File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/node_modules/@stdlib/math/base/special/cpolar/docs/types Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ interface Cpolar {
39
39
* var v = cpolar( new Complex128( 5.0, 3.0 ) );
40
40
* // returns [ ~5.83, ~0.5404 ]
41
41
*/
42
- ( z : Complex128 ) : Array < number > ;
42
+ ( z : Complex128 ) : [ number , number ] ;
43
43
44
44
/**
45
45
* Computes the absolute value and the phase of a double-precision complex floating-point number and assigns results to a provided output array.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import cpolar = require( './index' );
24
24
25
25
// The function returns an array of numbers...
26
26
{
27
- cpolar ( new Complex128 ( 5.0 , 3.0 ) ) ; // $ExpectType number[ ]
27
+ cpolar ( new Complex128 ( 5.0 , 3.0 ) ) ; // $ExpectType [number, number ]
28
28
}
29
29
30
30
// The compiler throws an error if the function is provided a complex number...
You can’t perform that action at this time.
0 commit comments