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 7e5ef6d commit c069f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/utils/pop/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 last element of a collection.
Expand Down Expand Up @@ -49,7 +49,7 @@ import { Collection } from '@stdlib/types/object';
* var out = pop( arr );
* // returns [ <Float64Array>[ 1.0, 2.0, 3.0, 4.0 ], 5.0 ]
*/
declare function pop<T = any>( collection: Collection<T> ): [Collection<T>, T];
declare function pop<T = unknown>( collection: Collection<T> ): [Collection<T>, T];


// EXPORTS //
Expand Down

0 comments on commit c069f30

Please sign in to comment.