Skip to content

Commit 87c8da4

Browse files
committed
Auto-generated commit
1 parent 87ef3f9 commit 87c8da4

File tree

4 files changed

+7
-15
lines changed

4 files changed

+7
-15
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,6 @@ For more information on the project, filing bug reports and feature requests, an
177177

178178
---
179179

180-
## License
181-
182-
See [LICENSE][stdlib-license].
183-
184-
185180
## Copyright
186181

187182
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
@@ -225,8 +220,6 @@ Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
225220
[esm-url]: https://github.com/stdlib-js/ndarray-base-assert-is-buffer-length-compatible/tree/esm
226221
[branches-url]: https://github.com/stdlib-js/ndarray-base-assert-is-buffer-length-compatible/blob/main/branches.md
227222

228-
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/ndarray-base-assert-is-buffer-length-compatible/main/LICENSE
229-
230223
</section>
231224

232225
<!-- /.links -->

docs/types/test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import isBufferLengthCompatible = require( './index' );
2626
isBufferLengthCompatible( 4, [ 2, 2 ], [ 2, 1 ], 0 ); // $ExpectType boolean
2727
}
2828

29-
// The function does not compile if provided a first argument which is not a number...
29+
// The compiler throws an error if the function is provided a first argument which is not a number...
3030
{
3131
const shape = [ 2, 2 ];
3232
const strides = [ 2, 1 ];
@@ -41,7 +41,7 @@ import isBufferLengthCompatible = require( './index' );
4141
isBufferLengthCompatible( ( x: number ): number => x, shape, strides, offset ); // $ExpectError
4242
}
4343

44-
// The function does not compile if provided a second argument which is not an array-like object containing numbers...
44+
// The compiler throws an error if the function is provided a second argument which is not an array-like object containing numbers...
4545
{
4646
const len = 4;
4747
const strides = [ 2, 1 ];
@@ -56,7 +56,7 @@ import isBufferLengthCompatible = require( './index' );
5656
isBufferLengthCompatible( len, ( x: number ): number => x, strides, offset ); // $ExpectError
5757
}
5858

59-
// The function does not compile if provided a third argument which is not an array-like object containing numbers...
59+
// The compiler throws an error if the function is provided a third argument which is not an array-like object containing numbers...
6060
{
6161
const len = 4;
6262
const shape = [ 2, 2 ];
@@ -71,7 +71,7 @@ import isBufferLengthCompatible = require( './index' );
7171
isBufferLengthCompatible( len, shape, ( x: number ): number => x, offset ); // $ExpectError
7272
}
7373

74-
// The function does not compile if provided a fourth argument which is not a number...
74+
// The compiler throws an error if the function is provided a fourth argument which is not a number...
7575
{
7676
const len = 4;
7777
const shape = [ 2, 2 ];
@@ -86,7 +86,7 @@ import isBufferLengthCompatible = require( './index' );
8686
isBufferLengthCompatible( len, shape, strides, ( x: number ): number => x ); // $ExpectError
8787
}
8888

89-
// The function does not compile if provided insufficient arguments...
89+
// The compiler throws an error if the function is provided insufficient arguments...
9090
{
9191
isBufferLengthCompatible(); // $ExpectError
9292
isBufferLengthCompatible( 4 ); // $ExpectError

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646

4747
// MODULES //
4848

49-
var isBufferLengthCompatible = require( './main.js' );
49+
var main = require( './main.js' );
5050

5151

5252
// EXPORTS //
5353

54-
module.exports = isBufferLengthCompatible;
54+
module.exports = main;

0 commit comments

Comments
 (0)