Skip to content

Commit 881695e

Browse files
committed
Auto-generated commit
1 parent 45abf16 commit 881695e

7 files changed

Lines changed: 7 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ A total of 46 issues were closed in this release:
504504

505505
<details>
506506

507+
- [`56cd0bf`](https://github.com/stdlib-js/stdlib/commit/56cd0bfb6e3d98349a2062e3ac26668f58ba09bb) - **refactor:** use tuple for return type _(by Karan Anand)_
507508
- [`9972161`](https://github.com/stdlib-js/stdlib/commit/9972161c7c945bf3ab1229fb40129c1107d5918b) - **docs:** replace manual `for` loop in examples _(by Karan Anand)_
508509
- [`8f57742`](https://github.com/stdlib-js/stdlib/commit/8f577423535f8ef0639a0306538771f980af6fbb) - **refactor:** use tuple for return type _(by Karan Anand)_
509510
- [`dc2050c`](https://github.com/stdlib-js/stdlib/commit/dc2050c28a2fb9dda083a344f2d8405eb8478dbb) - **docs:** replace manual `for` loop in examples _(by Karan Anand)_

base/special/frexp/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ interface Frexp {
6262
* var out = frexp( -Infinity );
6363
* // returns [ -Infinity , 0 ]
6464
*/
65-
( x: number ): Array<number>;
65+
( x: number ): [ number, number ];
6666

6767
/**
6868
* Splits a double-precision floating-point number into a normalized fraction and an integer power of two and assigns results to a provided output array.

base/special/frexp/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import frexp = require( './index' );
2525

2626
// The function returns an array of numbers...
2727
{
28-
frexp( 4.0 ); // $ExpectType number[]
28+
frexp( 4.0 ); // $ExpectType [number, number]
2929
}
3030

3131
// The compiler throws an error if the function is provided an argument which is not a number...

base/special/frexpf/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ interface Frexpf {
6262
* var out = frexpf( -Infinity );
6363
* // returns [ -Infinity , 0 ]
6464
*/
65-
( x: number ): Array<number>;
65+
( x: number ): [ number, number ];
6666

6767
/**
6868
* Splits a single-precision floating-point number into a normalized fraction and an integer power of two and assigns results to a provided output array.

base/special/frexpf/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import frexpf = require( './index' );
2525

2626
// The function returns an array of numbers...
2727
{
28-
frexpf( 4.0 ); // $ExpectType number[]
28+
frexpf( 4.0 ); // $ExpectType [number, number]
2929
}
3030

3131
// The compiler throws an error if the function is provided an argument which is not a number...

base/special/modf/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ interface Modf {
3636
* var parts = modf( 3.14 );
3737
* // returns [ 3.0, 0.14000000000000012 ]
3838
*/
39-
( x: number ): Array<number>;
39+
( x: number ): [ number, number ];
4040

4141
/**
4242
* Decomposes a double-precision floating-point number into integral and fractional parts, each having the same type and sign as the input value.

base/special/modf/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import modf = require( './index' );
2525

2626
// The function returns a numeric array...
2727
{
28-
modf( 1.0 ); // $ExpectType number[]
28+
modf( 1.0 ); // $ExpectType [number, number]
2929
}
3030

3131
// The compiler throws an error if the function is provided an argument other than a number...

0 commit comments

Comments
 (0)