Skip to content

Commit 3bc080f

Browse files
committed
Auto-generated commit
1 parent 097ab00 commit 3bc080f

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`abf0407`](https://github.com/stdlib-js/stdlib/commit/abf040787f6598438b0100a729a8331b7f80f62f) - **chore:** resolve lint errors in TS files _(by Philipp Burckhardt)_
2526
- [`975147f`](https://github.com/stdlib-js/stdlib/commit/975147f3125c786ec1672acb3d2564ca16eaa790) - **docs:** fix TSDoc lint errors _(by Philipp Burckhardt)_
2627
- [`37ca4b7`](https://github.com/stdlib-js/stdlib/commit/37ca4b7ca0d5a2d0553f4d3b0d763d81e38a1bc9) - **feat:** add boolean dtype support to `array/filled-by` [(#2487)](https://github.com/stdlib-js/stdlib/pull/2487) _(by Jaysukh Makvana, Athan Reines)_
2728
- [`75d4f83`](https://github.com/stdlib-js/stdlib/commit/75d4f83cb85610d23a04dc21a03f8075f6d3665f) - **refactor:** update require and include paths _(by Athan Reines)_

docs/types/test.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -93,23 +93,23 @@ function clbk( i: number ): number {
9393
filledarrayBy( it, 'uint8c', clbk, {} ); // $ExpectType ArrayOrTypedArray
9494

9595
const buf = new ArrayBuffer( 32 );
96-
filledarrayBy( buf, clbk ); // $ExpectType RealOrComplexTypedArray
97-
filledarrayBy( buf, clbk, {} ); // $ExpectType RealOrComplexTypedArray
96+
filledarrayBy( buf, clbk ); // $ExpectType RealOrComplexTypedArray | BooleanArray
97+
filledarrayBy( buf, clbk, {} ); // $ExpectType RealOrComplexTypedArray | BooleanArray
9898

99-
filledarrayBy( buf, 'uint32', clbk ); // $ExpectType RealOrComplexTypedArray
100-
filledarrayBy( buf, 'uint32', clbk, {} ); // $ExpectType RealOrComplexTypedArray
99+
filledarrayBy( buf, 'uint32', clbk ); // $ExpectType RealOrComplexTypedArray | BooleanArray
100+
filledarrayBy( buf, 'uint32', clbk, {} ); // $ExpectType RealOrComplexTypedArray | BooleanArray
101101

102-
filledarrayBy( buf, 8, clbk ); // $ExpectType RealOrComplexTypedArray
103-
filledarrayBy( buf, 8, clbk, {} ); // $ExpectType RealOrComplexTypedArray
102+
filledarrayBy( buf, 8, clbk ); // $ExpectType RealOrComplexTypedArray | BooleanArray
103+
filledarrayBy( buf, 8, clbk, {} ); // $ExpectType RealOrComplexTypedArray | BooleanArray
104104

105-
filledarrayBy( buf, 8, 'uint16', clbk ); // $ExpectType RealOrComplexTypedArray
106-
filledarrayBy( buf, 8, 'uint16', clbk, {} ); // $ExpectType RealOrComplexTypedArray
105+
filledarrayBy( buf, 8, 'uint16', clbk ); // $ExpectType RealOrComplexTypedArray | BooleanArray
106+
filledarrayBy( buf, 8, 'uint16', clbk, {} ); // $ExpectType RealOrComplexTypedArray | BooleanArray
107107

108-
filledarrayBy( buf, 8, 2, clbk ); // $ExpectType RealOrComplexTypedArray
109-
filledarrayBy( buf, 8, 2, clbk, {} ); // $ExpectType RealOrComplexTypedArray
108+
filledarrayBy( buf, 8, 2, clbk ); // $ExpectType RealOrComplexTypedArray | BooleanArray
109+
filledarrayBy( buf, 8, 2, clbk, {} ); // $ExpectType RealOrComplexTypedArray | BooleanArray
110110

111-
filledarrayBy( buf, 8, 2, 'int16', clbk ); // $ExpectType RealOrComplexTypedArray
112-
filledarrayBy( buf, 8, 2, 'int16', clbk, {} ); // $ExpectType RealOrComplexTypedArray
111+
filledarrayBy( buf, 8, 2, 'int16', clbk ); // $ExpectType RealOrComplexTypedArray | BooleanArray
112+
filledarrayBy( buf, 8, 2, 'int16', clbk, {} ); // $ExpectType RealOrComplexTypedArray | BooleanArray
113113
}
114114

115115
// The compiler throws an error if a callback function argument is not a function...

0 commit comments

Comments
 (0)