UNPKG

@quinck/collections

Version:

Allows extra operations on JavaScript collections: Array, Map and Set.

11 lines (10 loc) 223 B
export {}; declare global { interface Array<T> { /** * Creates a new Set with all the elements of the Array. * @returns an Set with the Array items */ toSet(): Set<T>; } }