Skip to content

Commit 5fa1a7c

Browse files
committed
fix: changing x[0] to x[0][0][0]
1 parent 1bb0938 commit 5fa1a7c

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/array/base/broadcasted-ternary4d/docs/types

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/array/base/broadcasted-ternary4d/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function fcn( x: number, y: number, z: number ): number {
5555
const shapes: [ Array<number>, Array<number>, Array<number>, Array<number> ] = [ [ 2, 2, 2, 2 ], [ 2, 2, 2, 2 ], [ 2, 2, 2, 2 ], [ 2, 2, 2, 2 ]];
5656

5757
bternary4d( [ x, y, z, out ], shapes, fcn ); // $ExpectType void
58-
bternary4d( [ x[0], y, z, out ], [ shapes[ 0 ][ 2 ], shapes[ 1 ], shapes[ 2 ], shapes[ 3 ] ], fcn ); // $ExpectType void
58+
bternary4d( [ x[0][0][0], y, z, out ], [ shapes[ 0 ][ 2 ], shapes[ 1 ], shapes[ 2 ], shapes[ 3 ] ], fcn ); // $ExpectType void
5959
}
6060

6161
// The compiler throws an error if the function is provided a first argument which is not an array of nested arrays...

0 commit comments

Comments
 (0)