feat(core): KeyValueDiffer#diff allows null values (#24319)
PR Close #24319
This commit is contained in:
committed by
Miško Hevery
parent
2b49bf77af
commit
52ce9d5dcb
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user