Skip to content

Commit beab27b

Browse files
committed
Update declarations to use top-level types
1 parent 38fb9e2 commit beab27b

File tree

1 file changed

+3
-25
lines changed
  • lib/node_modules/@stdlib/array/complex128/docs/types

1 file changed

+3
-25
lines changed

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

+3-25
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@
2020

2121
/// <reference types="@stdlib/types"/>
2222

23-
import { ArrayLike, TypedArray } from '@stdlib/types/array';
24-
import { ComplexLike } from '@stdlib/types/object';
23+
import { ArrayLike, TypedArray, Complex128Array as Complex128ArrayInterface } from '@stdlib/types/array';
24+
import { ComplexLike, Complex128 } from '@stdlib/types/object';
2525
import ArrayBuffer = require( '@stdlib/array/buffer' );
26-
import Complex128 = require( '@stdlib/complex/float64' );
2726

2827
/**
2928
* Class for creating a 128-bit complex number array.
3029
*/
31-
declare class Complex128Array {
30+
declare class Complex128Array implements Complex128ArrayInterface {
3231
/**
3332
* 128-bit complex number array constructor.
3433
*
@@ -162,27 +161,6 @@ declare class Complex128Array {
162161
*/
163162
get( i: number ): Complex128 | void;
164163

165-
/**
166-
* Returns an array element.
167-
*
168-
* @param out - output array
169-
* @param i - element index
170-
* @throws index argument must be a nonnegative integer
171-
* @returns array element
172-
*
173-
* @example
174-
* var arr = new Complex128Array( 10 );
175-
*
176-
* var z = arr.get( 0 );
177-
* // returns <Complex128>
178-
*
179-
* arr.set( [ 1.0, -1.0 ], 0 );
180-
*
181-
* z = arr.get( [ 0.0, 0.0 ], 0 );
182-
* // returns [ 1.0, -1.0 ]
183-
*/
184-
get( out: ArrayLike<number>, i: number ): ArrayLike<number> | void;
185-
186164
/**
187165
* Sets an array element.
188166
*

0 commit comments

Comments
 (0)