34
34
* const x: ArrayLike<number> = [ 1, 2, 3 ];
35
35
*/
36
36
declare module '@stdlib/types/array' {
37
- import { ComplexLike , Complex64 , Complex128 } from '@stdlib/types/object ' ;
37
+ import { ComplexLike , Complex64 , Complex128 } from '@stdlib/types/complex ' ;
38
38
39
39
/**
40
40
* Data type.
@@ -316,7 +316,7 @@ declare module '@stdlib/types/array' {
316
316
* const x: IntegerTypedArray = new Uint32Array( 10 );
317
317
* const y: IntegerTypedArray = new Int32Array( 10 );
318
318
*/
319
- type IntegerTypedArray = SignedIntegerTypedArray | UnsignedIntegerTypedArray ; // tslint:disable-line:max-line-length
319
+ type IntegerTypedArray = SignedIntegerTypedArray | UnsignedIntegerTypedArray ;
320
320
321
321
/**
322
322
* A signed integer typed array.
@@ -332,7 +332,7 @@ declare module '@stdlib/types/array' {
332
332
* @example
333
333
* const x: UnsignedIntegerTypedArray = new Uint32Array( 10 );
334
334
*/
335
- type UnsignedIntegerTypedArray = Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array ; // tslint:disable-line:max-line-length
335
+ type UnsignedIntegerTypedArray = Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array ;
336
336
337
337
/**
338
338
* A floating-point typed array.
@@ -435,7 +435,7 @@ declare module '@stdlib/types/array' {
435
435
* @param value - value(s)
436
436
* @param i - element index at which to start writing values (default: 0)
437
437
*/
438
- set ( value : ArrayLike < number | ComplexLike > | ComplexArrayLike | ComplexLike , i ?: number ) : void ; // tslint:disable-line:max-line-length
438
+ set ( value : ArrayLike < number | ComplexLike > | ComplexArrayLike | ComplexLike , i ?: number ) : void ;
439
439
}
440
440
441
441
/**
@@ -479,7 +479,7 @@ declare module '@stdlib/types/array' {
479
479
* @param value - value(s)
480
480
* @param i - element index at which to start writing values (default: 0)
481
481
*/
482
- set ( value : ArrayLike < number | ComplexLike > | Complex64Array | ComplexLike , i ?: number ) : void ; // tslint:disable-line:max-line-length
482
+ set ( value : ArrayLike < number | ComplexLike > | Complex64Array | ComplexLike , i ?: number ) : void ;
483
483
}
484
484
485
485
/**
@@ -523,7 +523,7 @@ declare module '@stdlib/types/array' {
523
523
* @param value - value(s)
524
524
* @param i - element index at which to start writing values (default: 0)
525
525
*/
526
- set ( value : ArrayLike < number | ComplexLike > | Complex128Array | ComplexLike , i ?: number ) : void ; // tslint:disable-line:max-line-length
526
+ set ( value : ArrayLike < number | ComplexLike > | Complex128Array | ComplexLike , i ?: number ) : void ;
527
527
}
528
528
}
529
529
@@ -732,8 +732,9 @@ declare module '@stdlib/types/iter' {
732
732
* };
733
733
*/
734
734
declare module '@stdlib/types/ndarray' {
735
- import { ArrayLike , AccessorArrayLike , Complex128Array , Complex64Array , RealOrComplexTypedArray , FloatOrComplexTypedArray , RealTypedArray , ComplexTypedArray , IntegerTypedArray , FloatTypedArray , SignedIntegerTypedArray , UnsignedIntegerTypedArray } from '@stdlib/types/array' ; // tslint:disable-line:max-line-length
736
- import { ComplexLike , Complex128 , Complex64 , Collection } from '@stdlib/types/object' ;
735
+ import { ArrayLike , AccessorArrayLike , Complex128Array , Complex64Array , RealOrComplexTypedArray , FloatOrComplexTypedArray , RealTypedArray , ComplexTypedArray , IntegerTypedArray , FloatTypedArray , SignedIntegerTypedArray , UnsignedIntegerTypedArray } from '@stdlib/types/array' ;
736
+ import { ComplexLike , Complex128 , Complex64 } from '@stdlib/types/complex' ;
737
+ import { Collection } from '@stdlib/types/object' ;
737
738
738
739
/**
739
740
* Data type.
@@ -783,7 +784,7 @@ declare module '@stdlib/types/ndarray' {
783
784
/**
784
785
* Output data type policy.
785
786
*/
786
- type OutputPolicy = 'default' | 'same' | 'promoted' | 'bool' | 'numeric' | 'real' | 'floating_point' | 'real_floating_point' | 'complex_floating_point' | 'integer' | 'signed_integer' | 'unsigned_integer' ; // tslint:disable-line:max-line-length
787
+ type OutputPolicy = 'default' | 'same' | 'promoted' | 'bool' | 'numeric' | 'real' | 'floating_point' | 'real_floating_point' | 'complex_floating_point' | 'integer' | 'signed_integer' | 'unsigned_integer' ;
787
788
788
789
/**
789
790
* Array order.
@@ -2501,7 +2502,7 @@ declare module '@stdlib/types/object' {
2501
2502
* 'value': 'beep'
2502
2503
* };
2503
2504
*/
2504
- type PropertyDescriptor = DataPropertyDescriptor | AccessorPropertyDescriptor ; // tslint:disable-line:max-line-length
2505
+ type PropertyDescriptor = DataPropertyDescriptor | AccessorPropertyDescriptor ;
2505
2506
2506
2507
/**
2507
2508
* An object property name.
@@ -2518,7 +2519,17 @@ declare module '@stdlib/types/object' {
2518
2519
* const x: Collection<number> = [ 1, 2, 3 ];
2519
2520
*/
2520
2521
type Collection < T = any > = Array < T > | TypedArray | ArrayLike < T > ;
2522
+ }
2521
2523
2524
+ /**
2525
+ * Module containing definitions for complex numbers.
2526
+ *
2527
+ * @example
2528
+ * import * as complex from `@stdlib/types/complex`;
2529
+ *
2530
+ * const x: complex.ComplexLike = { 're': 5.0, 'im': 3.0 };
2531
+ */
2532
+ declare module '@stdlib/types/complex' {
2522
2533
/**
2523
2534
* Complex number data type.
2524
2535
*/
0 commit comments