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 c7f71aa commit ff4c195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/utils/shift/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';

/**
* Removes and returns the first element of a collection.
Expand Down Expand Up @@ -49,7 +49,7 @@ import { Collection } from '@stdlib/types/object';
* var out = shift( arr );
* // returns [ <Float64Array>[ 2.0, 3.0, 4.0, 5.0 ], 1.0 ]
*/
declare function shift<T = any>( collection: Collection<T> ): [Collection<T>, T];
declare function shift<T = unknown>( collection: Collection<T> ): [Collection<T>, T];


// EXPORTS //
Expand Down

0 comments on commit ff4c195

Please sign in to comment.