UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

15 lines (14 loc) 415 B
export declare function createHashSet<T>(): HashSet<T>; export interface HashSet<T> { has(value: T): boolean; delete(value: T): boolean; add(value: T): void; values(): IterableIterator<T>; } export declare class Es5HashSet<T> implements HashSet<T> { private readonly items; has(value: T): boolean; add(value: T): void; delete(value: T): boolean; values(): IterableIterator<T>; }