Skip to content

Commit bfcc3ef

Browse files
committed
Fix optional parameter documentation
1 parent cb29bbf commit bfcc3ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/array/typed/lib/typedarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var ctors = require( '@stdlib/array/typed-ctors' );
2929
/**
3030
* Creates a typed array.
3131
*
32-
* @param {(NonNegativeInteger|TypedArray|ArrayLikeObject|ArrayBuffer)} arg - a length, typed array, array-like object, or buffer
32+
* @param {(NonNegativeInteger|TypedArray|ArrayLikeObject|ArrayBuffer)} [arg] - a length, typed array, array-like object, or buffer
3333
* @param {NonNegativeInteger} [byteOffset=0] - byte offset
3434
* @param {NonNegativeInteger} [length] - view length
3535
* @param {string} [dtype="float64"] - data type

0 commit comments

Comments
 (0)