Skip to content

Commit 2fe90ce

Browse files
mvanhornclaude
andcommitted
fix: correct grammar in ndarray type test comments
Fix grammatical error in compiler error description comments: Before: "provided a first argument is not an ndarray which has" After: "provided a first argument which is not an ndarray having" Applied to both `ones-like` and `zeros-like` type test files. Closes #11152 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9015bd8 commit 2fe90ce

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/ndarray/base

lib/node_modules/@stdlib/ndarray/base/ones-like/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import onesLike = require( './index' );
4141
onesLike( ones( 'generic', sh, ord ) ); // $ExpectType genericndarray<number>
4242
}
4343

44-
// The compiler throws an error if the function is provided a first argument is not an ndarray which has a recognized/supported data type...
44+
// The compiler throws an error if the function is provided a first argument which is not an ndarray having a recognized/supported data type...
4545
{
4646
onesLike( '10' ); // $ExpectError
4747
onesLike( 10 ); // $ExpectError

lib/node_modules/@stdlib/ndarray/base/zeros-like/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import zerosLike = require( './index' );
4141
zerosLike( zeros( 'generic', sh, ord ) ); // $ExpectType genericndarray<number>
4242
}
4343

44-
// The compiler throws an error if the function is provided a first argument is not an ndarray which has a recognized/supported data type...
44+
// The compiler throws an error if the function is provided a first argument which is not an ndarray having a recognized/supported data type...
4545
{
4646
zerosLike( '10' ); // $ExpectError
4747
zerosLike( 10 ); // $ExpectError

0 commit comments

Comments
 (0)