Skip to content

Commit 92caf33

Browse files
committed
fix: update import path for Collection type definition
Ref: stdlib-js@bde4671
1 parent aad0c02 commit 92caf33

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

lib/node_modules/@stdlib/number/float32/base/normalize/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

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

23-
import { Collection } from '@stdlib/types/object';
23+
import { Collection } from '@stdlib/types/array';
2424

2525
/**
2626
* Interface describing `normalizef`.
@@ -81,7 +81,7 @@ interface Normalizef {
8181
* var bool = ( v === out );
8282
* // returns true
8383
*/
84-
assign<T = any>( x: number, out: Collection<T>, stride: number, offset: number ): Collection<T>; // tslint-disable-line max-line-length
84+
assign<T = unknown>( x: number, out: Collection<T>, stride: number, offset: number ): Collection<T | number>;
8585
}
8686

8787
/**

lib/node_modules/@stdlib/number/float64/base/normalize/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

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

23-
import { Collection } from '@stdlib/types/object';
23+
import { Collection } from '@stdlib/types/array';
2424

2525
/**
2626
* Interface describing `normalize`.
@@ -92,7 +92,7 @@ interface Normalize {
9292
* var bool = ( v === out );
9393
* // returns true
9494
*/
95-
assign<T = any>( x: number, out: Collection<T>, stride: number, offset: number ): Collection<T>; // tslint-disable-line max-line-length
95+
assign<T = unknown>( x: number, out: Collection<T>, stride: number, offset: number ): Collection<T | number>;
9696
}
9797

9898
/**

lib/node_modules/@stdlib/number/float64/base/to-int64-bytes/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

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

23-
import { Collection } from '@stdlib/types/object';
23+
import { Collection } from '@stdlib/types/array';
2424

2525
/**
2626
* Interface describing `float64ToInt64Bytes`.
@@ -62,7 +62,7 @@ interface Float64ToInt64Bytes {
6262
* var bytes = float64ToInt64Bytes.assign( 1.0, out, 2, 1 );
6363
* // returns <Uint8Array>
6464
*/
65-
assign<T = any>( x: number, out: Collection<T>, stride: number, offset: number ): Collection<T>; // tslint-disable-line max-line-length
65+
assign<T = unknown>( x: number, out: Collection<T>, stride: number, offset: number ): Collection<T | number>;
6666
}
6767

6868
/**

lib/node_modules/@stdlib/number/float64/base/to-words/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

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

23-
import { Collection } from '@stdlib/types/object';
23+
import { Collection } from '@stdlib/types/array';
2424

2525
/**
2626
* Interface describing `toWords`.
@@ -58,7 +58,7 @@ interface ToWords {
5858
* var bool = ( w === out );
5959
* // returns true
6060
*/
61-
assign<T = any>( x: number, out: Collection<T>, stride: number, offset: number ): Collection<T>; // tslint-disable-line max-line-length
61+
assign<T = unknown>( x: number, out: Collection<T>, stride: number, offset: number ): Collection<T | number>;
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)