mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
396 B
TypeScript
13 lines
396 B
TypeScript
// Type definitions for array-unique 0.3
|
|
// Project: https://github.com/jonschlinkert/array-unique
|
|
// Definitions by: Michaël St-Georges <https://github.com/CSLTech>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare function arrayUnique<T>(arr: T[]): T[];
|
|
|
|
declare namespace arrayUnique {
|
|
function immutable<T>(arr: ReadonlyArray<T>): T[];
|
|
}
|
|
|
|
export = arrayUnique;
|