feat(core): KeyValueDiffer#diff allows null values (#24319)
PR Close #24319
This commit is contained in:
parent
2b49bf77af
commit
52ce9d5dcb
4
tools/public_api_guard/core/core.d.ts
vendored
4
tools/public_api_guard/core/core.d.ts
vendored
@ -468,10 +468,10 @@ export interface KeyValueChanges<K, V> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface KeyValueDiffer<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: {
|
diff(object: {
|
||||||
[key: string]: V;
|
[key: string]: V;
|
||||||
}): KeyValueChanges<string, V>;
|
}): KeyValueChanges<string, V> | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface KeyValueDifferFactory {
|
export interface KeyValueDifferFactory {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user