UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

13 lines (12 loc) 386 B
export declare class DefaultMap<T, U> { private _defaultValue; private _map; constructor(defaultValue: () => U); getOrCreate(key: T): U; get(key: T): U | undefined; set(key: T, value: U): void; has(key: T): boolean; toMap(): Map<T, U>; entries(): MapIterator<[T, U]>; } export declare function createIconDefaultMap<T, U>(): DefaultMap<T, Map<T, U>>;