check attribute is null instead of any falsy value

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 281eca7fe2
commit da54061b53
2 changed files with 5 additions and 1 deletions

4
typings/record/collection.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
import { removedNodeMutation } from '../types';
export declare function deepDelete(addsSet: Set<Node>, n: Node): void;
export declare function isParentRemoved(removes: removedNodeMutation[], n: Node): boolean;
export declare function isParentDropped(droppedSet: Set<Node>, n: Node): boolean;