dotvvm-types 4.2.5 → 4.3.0-preview02-final

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dotvvm-types",
3
- "version": "4.2.5",
3
+ "version": "4.3.0-preview02-final",
4
4
  "description": "MVVM framework for ASP.NET",
5
5
  "types": "./types/index.d.ts",
6
6
  "repository": {
package/types/index.d.ts CHANGED
@@ -744,7 +744,7 @@ declare module "translations/dictionaryHelper" {
744
744
  }[];
745
745
  export function clear(observable: any): void;
746
746
  export function containsKey<Key, Value>(dictionary: Dictionary<Key, Value>, identifier: Key): boolean;
747
- export function getItem<Key, Value>(dictionary: Dictionary<Key, Value>, identifier: Key): Value;
747
+ export function getItem<Key, Value>(dictionary: Dictionary<Key, Value>, identifier: Key, defaultValue?: Value): Value;
748
748
  export function remove<Key, Value>(observable: any, identifier: Key): boolean;
749
749
  export function setItem<Key, Value>(observable: any, identifier: Key, value: Value): void;
750
750
  }