Installation
npm install ts-hashset
Input validation
import { HashSet } from 'ts-hashset';
const set = HashSet.of([1, 2, 3]);
function foo(set: Set<number>) {}
foo(set); // OK
npm install ts-hashset
import { HashSet } from 'ts-hashset';
const set = HashSet.of([1, 2, 3]);
function foo(set: Set<number>) {}
foo(set); // OK
npm i ts-hashset
2
1.0.0
ISC
48.4 kB
11