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

/**
* Three-element array holding a unique value, the value count, and the frequency percentage.
Expand Down Expand Up @@ -49,7 +49,7 @@ type TableEntry<T> = [ T, number, number ];
* var out = tabulate( arr );
* // returns [ [ 'beep', 2, 0.5 ], [ 'boop', 1, 0.25 ], [ 'foo', 1, 0.25 ] ]
*/
declare function tabulate<T = any>( collection: Collection<T> ): Array<TableEntry<T>>; // tslint-disable-line max-line-length
declare function tabulate<T = unknown>( collection: Collection<T> ): Array<TableEntry<T>>;


// EXPORTS //
Expand Down

0 comments on commit 71dd315

Please sign in to comment.