UNPKG

@knyt/luthier

Version:

A library for building standardized, type-safe native web components with full SSR and hydration support.

17 lines 543 B
export declare class ImmutableRegistry<T> implements Iterable<T> { #private; constructor(values?: Iterable<T>); /** * Returns a new PromiseRegistry instance with the added value. */ with(value: T): ImmutableRegistry<T>; /** * Returns a new PromiseRegistry instance with the removed value. */ without(value: T): ImmutableRegistry<T>; has(value: T): boolean; get size(): number; get hasAny(): boolean; [Symbol.iterator](): Iterator<T>; } //# sourceMappingURL=ImmutableRegistry.d.ts.map