Skip to content

Commit 390247e

Browse files
committed
fix: change x[ 0 ] to x[ 0 ][ 0 ]
1 parent 60521a5 commit 390247e

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

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

4545
bternary3d( [ x, y, z, out ], shapes, fcn ); // $ExpectType void
46-
bternary3d( [ x[ 0 ], y, z, out ], [ shapes[0][2] , shapes[1], shapes[2] , shapes[ 3 ] ], fcn ); // $ExpectType void
46+
bternary3d( [ x[ 0 ][ 0 ], y, z, out ], [ shapes[0][2] , shapes[1], shapes[2] , shapes[ 3 ] ], fcn ); // $ExpectType void
4747
}
4848

4949
// 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)