Skip to content

Commit

Permalink
feat(core): KeyValueDiffer#diff allows null values
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Wiles committed Jun 13, 2018
1 parent 5cde92a commit d22802b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/public_api_guard/core/core.d.ts
Expand Up @@ -462,10 +462,10 @@ export interface KeyValueChanges<K, V> {
}

export interface KeyValueDiffer<K, V> {
diff(object: Map<K, V>): KeyValueChanges<K, V>;
diff(object: Map<K, V>): KeyValueChanges<K, V> | null;
diff(object: {
[key: string]: V;
}): KeyValueChanges<string, V>;
}): KeyValueChanges<string, V> | null;
}

export interface KeyValueDifferFactory {
Expand Down

0 comments on commit d22802b

Please sign in to comment.