Skip to content

Commit e01af87

Browse files
committed
Auto-generated commit
1 parent 16d2a1c commit e01af87

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

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

818818
<details>
819819

820+
- [`a73a430`](https://github.com/stdlib-js/stdlib/commit/a73a430f8cf1e69a6bda08d1a4441b8985ef56ec) - **refactor:** improve type specificity _(by Athan Reines)_
820821
- [`7ab721b`](https://github.com/stdlib-js/stdlib/commit/7ab721ba37db35ef62c6b658ba6ddeef4f8bff64) - **test:** use accessor functions for accessing ndarray meta data _(by Athan Reines)_
821822
- [`1c769c9`](https://github.com/stdlib-js/stdlib/commit/1c769c983b0a4197ba30c9372568e03af00e9c00) - **test:** use accessors for retrieving ndarray meta data _(by Athan Reines)_
822823
- [`06b39a8`](https://github.com/stdlib-js/stdlib/commit/06b39a8dce95540bd60183f40f7afe51a0affdc7) - **refactor:** update to accommodate dtype instances _(by Athan Reines)_

base/meta-data-props/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ interface Meta {
7878
* // Set the properties:
7979
* setProps( meta, dtypes, obj );
8080
*/
81-
declare function setProps( meta: Meta, dtypes: ArrayLike<any>, obj: any ): any;
81+
declare function setProps<T>( meta: Meta, dtypes: ArrayLike<any>, obj: T ): T;
8282

8383

8484
// EXPORTS //

base/meta-data-props/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ import setProps = require( './index' );
3030
};
3131
const dtypes = [ 'float64', 'float64' ];
3232

33-
setProps( meta, dtypes, {} ); // $ExpectType any
34-
setProps( meta, dtypes, {} ); // $ExpectType any
33+
setProps( meta, dtypes, {} ); // $ExpectType {}
34+
setProps( meta, dtypes, {} ); // $ExpectType {}
3535
}
3636

3737
// The compiler throws an error if not provided a first argument which is a meta data object...

0 commit comments

Comments
 (0)