feat(core): KeyValueDiffer#diff allows null values (#24319)

PR Close #24319
This commit is contained in:
Fabian Wiles 2018-06-13 20:34:48 +12:00 committed by Miško Hevery
parent 2b49bf77af
commit 52ce9d5dcb
1 changed files with 2 additions and 2 deletions

View File

@ -468,10 +468,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 {