UNPKG

decova-dotnet

Version:

This package provides fundumentals that a .net developer may miss while working with Typescript, whether they are missing functinalities or funcionalities provided in a non-elegant design in javascript. Bad naming, bad design of optional parameters, non-c

22 lines 693 B
interface Map<K, V> { xAdd(key: K, value: V): void; xEnsure(key: K, value: V, overwriteIfExising: boolean): V; xGet(key: K): V | undefined; xSet(key: K, value: V): void; xUpdateOnlyIfAny(key: K, value: V): boolean; xRemove(key: K): void; xEnsureRemoved(key: K): boolean; xKeys(): K[]; xValues(): V[]; xClear(): void; xForeach(func: (key: K) => void): void; xContainsKey(key: K): boolean; xCount(): number; xClone(): Map<K, V>; xAny(): boolean; } declare let protoConstructor: any; interface MapConstructor { FromObjectProps<TValue>(obj: object): Map<string, TValue>; } //# sourceMappingURL=Map.types.d.ts.map