Skip to content

Commit e7cb376

Browse files
committed
Add requires
1 parent e4ae049 commit e7cb376

File tree

1 file changed

+18
-0
lines changed
  • lib/node_modules/@stdlib/array/dtype/docs/types

1 file changed

+18
-0
lines changed

lib/node_modules/@stdlib/array/dtype/docs/types/index.d.ts

+18
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ import { RealOrComplexTypedArray, Complex128Array, Complex64Array, DataType } fr
2929
* @returns data type
3030
*
3131
* @example
32+
* var Float64Array = require( `@stdlib/array/float64` );
33+
*
3234
* var dt = dtype( new Float64Array( [ 1, 2, 3 ] ) );
3335
* // returns 'float64'
3436
*/
@@ -41,6 +43,8 @@ declare function dtype( value: Float64Array ): 'float64';
4143
* @returns data type
4244
*
4345
* @example
46+
* var Float32Array = require( `@stdlib/array/float32` );
47+
*
4448
* var dt = dtype( new Float32Array( [ 1, 2, 3 ] ) );
4549
* // returns 'float32'
4650
*/
@@ -81,6 +85,8 @@ declare function dtype( value: Complex64Array ): 'complex64';
8185
* @returns data type
8286
*
8387
* @example
88+
* var Int32Array = require( `@stdlib/array/int32` );
89+
*
8490
* var dt = dtype( new Int32Array( [ 1, 2, 3 ] ) );
8591
* // returns 'int32'
8692
*/
@@ -93,6 +99,8 @@ declare function dtype( value: Int32Array ): 'int32';
9399
* @returns data type
94100
*
95101
* @example
102+
* var Int16Array = require( `@stdlib/array/int16` );
103+
*
96104
* var dt = dtype( new Int16Array( [ 1, 2, 3 ] ) );
97105
* // returns 'int16'
98106
*/
@@ -105,6 +113,8 @@ declare function dtype( value: Int16Array ): 'int16';
105113
* @returns data type
106114
*
107115
* @example
116+
* var Int8Array = require( `@stdlib/array/int8` );
117+
*
108118
* var dt = dtype( new Int8Array( [ 1, 2, 3 ] ) );
109119
* // returns 'int8'
110120
*/
@@ -117,6 +127,8 @@ declare function dtype( value: Int8Array ): 'int8';
117127
* @returns data type
118128
*
119129
* @example
130+
* var Uint32Array = require( `@stdlib/array/uint32` );
131+
*
120132
* var dt = dtype( new Uint32Array( [ 1, 2, 3 ] ) );
121133
* // returns 'uint32'
122134
*/
@@ -129,6 +141,8 @@ declare function dtype( value: Uint32Array ): 'uint32';
129141
* @returns data type
130142
*
131143
* @example
144+
* var Uint16Array = require( `@stdlib/array/uint16` );
145+
*
132146
* var dt = dtype( new Uint16Array( [ 1, 2, 3 ] ) );
133147
* // returns 'uint16'
134148
*/
@@ -141,6 +155,8 @@ declare function dtype( value: Uint16Array ): 'uint16';
141155
* @returns data type
142156
*
143157
* @example
158+
* var Uint8Array = require( `@stdlib/array/uint8` );
159+
*
144160
* var dt = dtype( new Uint8Array( [ 1, 2, 3 ] ) );
145161
* // returns 'uint8'
146162
*/
@@ -153,6 +169,8 @@ declare function dtype( value: Uint8Array ): 'uint8';
153169
* @returns data type
154170
*
155171
* @example
172+
* var Uint8ClampedArray = require( `@stdlib/array/uint8c` );
173+
*
156174
* var dt = dtype( new Uint8ClampedArray( [ 1, 2, 3 ] ) );
157175
* // returns 'uint8c'
158176
*/

0 commit comments

Comments
 (0)