feat(core): KeyValueDiffer#diff allows null values (#24319)
PR Close #24319
This commit is contained in:
parent
2b49bf77af
commit
52ce9d5dcb
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue