Skip to content

Commit dcba884

Browse files
committed
Auto-generated commit
1 parent 9496b1c commit dcba884

File tree

8 files changed

+17
-13
lines changed

8 files changed

+17
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-08-01)
7+
## Unreleased (2024-08-10)
88

99
<section class="packages">
1010

@@ -816,6 +816,9 @@ A total of 4 people contributed to this release. Thank you to the following cont
816816

817817
<details>
818818

819+
- [`4ec7a03`](https://github.com/stdlib-js/stdlib/commit/4ec7a031214836b442e5bce57b57b20e166ef8a4) - **refactor:** improve type specificity _(by Athan Reines)_
820+
- [`0fef28c`](https://github.com/stdlib-js/stdlib/commit/0fef28ccec002134fb0ebd2db1a713404ab1db17) - **refactor:** improve type specificity _(by Athan Reines)_
821+
- [`9a4b430`](https://github.com/stdlib-js/stdlib/commit/9a4b430c6013d48480cb73a266fabd9683f49b31) - **refactor:** improve type specificity _(by Athan Reines)_
819822
- [`5fe7f2e`](https://github.com/stdlib-js/stdlib/commit/5fe7f2e437b3bf7ff82db46944d8f928c7fc4090) - **style:** remove backticks _(by Athan Reines)_
820823
- [`dab89ca`](https://github.com/stdlib-js/stdlib/commit/dab89ca7cb89b404eef61ae48cfb84afec543222) - **style:** remove backticks _(by Athan Reines)_
821824
- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Roman Stetsyk <[email protected]>
7070
7171
Ryan Seal <[email protected]>
7272
Sai Srikar Dumpeti <[email protected]>
73+
SarthakPaandey <[email protected]>
7374
Seyyed Parsa Neshaei <[email protected]>
7475
Shashank Shekhar Singh <[email protected]>
7576

iter/columns/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/// <reference types="@stdlib/types"/>
2222

2323
import { TypedIterator, TypedIterableIterator } from '@stdlib/types/iter';
24-
import { ndarray } from '@stdlib/types/ndarray';
24+
import { typedndarray } from '@stdlib/types/ndarray';
2525

2626
// Define a union type representing both iterable and non-iterable iterators:
2727
type Iterator<T> = TypedIterator<T> | TypedIterableIterator<T>;
@@ -79,7 +79,7 @@ interface Options {
7979
*
8080
* // ...
8181
*/
82-
declare function nditerColumns( x: ndarray, options?: Options ): Iterator<ndarray>;
82+
declare function nditerColumns<T = unknown>( x: typedndarray<T>, options?: Options ): Iterator<typedndarray<T>>;
8383

8484

8585
// EXPORTS //

iter/columns/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import nditerColumns = require( './index' );
2424

2525
// The function returns an iterator...
2626
{
27-
nditerColumns( zeros( [ 2, 2 ] ) ); // $ExpectType Iterator<ndarray>
28-
nditerColumns( zeros( [ 2, 2 ] ), {} ); // $ExpectType Iterator<ndarray>
27+
nditerColumns( zeros( [ 2, 2 ] ) ); // $ExpectType Iterator<typedndarray<number>>
28+
nditerColumns( zeros( [ 2, 2 ] ), {} ); // $ExpectType Iterator<typedndarray<number>>
2929
}
3030

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

iter/matrices/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/// <reference types="@stdlib/types"/>
2222

2323
import { TypedIterator, TypedIterableIterator } from '@stdlib/types/iter';
24-
import { ndarray } from '@stdlib/types/ndarray';
24+
import { typedndarray } from '@stdlib/types/ndarray';
2525

2626
// Define a union type representing both iterable and non-iterable iterators:
2727
type Iterator<T> = TypedIterator<T> | TypedIterableIterator<T>;
@@ -73,7 +73,7 @@ interface Options {
7373
*
7474
* // ...
7575
*/
76-
declare function nditerMatrices( x: ndarray, options?: Options ): Iterator<ndarray>;
76+
declare function nditerMatrices<T = unknown>( x: typedndarray<T>, options?: Options ): Iterator<typedndarray<T>>;
7777

7878

7979
// EXPORTS //

iter/matrices/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import nditerMatrices = require( './index' );
2424

2525
// The function returns an iterator...
2626
{
27-
nditerMatrices( zeros( [ 2, 2, 2 ] ) ); // $ExpectType Iterator<ndarray>
28-
nditerMatrices( zeros( [ 2, 2, 2 ] ), {} ); // $ExpectType Iterator<ndarray>
27+
nditerMatrices( zeros( [ 2, 2, 2 ] ) ); // $ExpectType Iterator<typedndarray<number>>
28+
nditerMatrices( zeros( [ 2, 2, 2 ] ), {} ); // $ExpectType Iterator<typedndarray<number>>
2929
}
3030

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

iter/rows/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/// <reference types="@stdlib/types"/>
2222

2323
import { TypedIterator, TypedIterableIterator } from '@stdlib/types/iter';
24-
import { ndarray } from '@stdlib/types/ndarray';
24+
import { typedndarray } from '@stdlib/types/ndarray';
2525

2626
// Define a union type representing both iterable and non-iterable iterators:
2727
type Iterator<T> = TypedIterator<T> | TypedIterableIterator<T>;
@@ -79,7 +79,7 @@ interface Options {
7979
*
8080
* // ...
8181
*/
82-
declare function nditerRows( x: ndarray, options?: Options ): Iterator<ndarray>;
82+
declare function nditerRows<T = unknown>( x: typedndarray<T>, options?: Options ): Iterator<typedndarray<T>>;
8383

8484

8585
// EXPORTS //

iter/rows/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import nditerRows = require( './index' );
2424

2525
// The function returns an iterator...
2626
{
27-
nditerRows( zeros( [ 2, 2 ] ) ); // $ExpectType Iterator<ndarray>
28-
nditerRows( zeros( [ 2, 2 ] ), {} ); // $ExpectType Iterator<ndarray>
27+
nditerRows( zeros( [ 2, 2 ] ) ); // $ExpectType Iterator<typedndarray<number>>
28+
nditerRows( zeros( [ 2, 2 ] ), {} ); // $ExpectType Iterator<typedndarray<number>>
2929
}
3030

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

0 commit comments

Comments
 (0)