Skip to content

Commit

Permalink
fix: update import path for Collection type definition
Browse files Browse the repository at this point in the history
Ref: bde4671
  • Loading branch information
kgryte committed Aug 18, 2023
1 parent c069f30 commit d5b607b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/utils/prepend/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

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

import { Collection } from '@stdlib/types/object';
import { Collection } from '@stdlib/types/array';

/**
* Adds elements from one collection to the beginning of another collection.
Expand Down Expand Up @@ -49,7 +49,7 @@ import { Collection } from '@stdlib/types/object';
* arr = prepend( arr, [ 6.0, 7.0 ] );
* // returns <Float64Array>[ 6.0, 7.0, 1.0, 2.0, 3.0, 4.0, 5.0 ]
*/
declare function prepend<T = any, U = any>( collection1: Collection<T>, collection2: Collection<U> ): Collection<T | U>;
declare function prepend<T = unknown, U = unknown>( collection1: Collection<T>, collection2: Collection<U> ): Collection<T | U>;


// EXPORTS //
Expand Down

0 comments on commit d5b607b

Please sign in to comment.