Skip to content

Commit 7bf4328

Browse files
committed
fix: convert default type to unknown
1 parent fe37cac commit 7bf4328

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/array/base/copy-indexed/docs/types

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/array/base/copy-indexed/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import { Collection } from '@stdlib/types/array';
3434
* var out = copy( x );
3535
* // returns [ 1, 2, 3 ]
3636
*/
37-
declare function copy<T = any>( x: Collection<T> ): Array<T>;
37+
declare function copy<T = unknown>( x: Collection<T> ): Array<T>;
3838

3939

4040
// EXPORTS //

0 commit comments

Comments
 (0)