update typings file
This commit is contained in:
20
typings/rrdom/tree-node.d.ts
vendored
Normal file
20
typings/rrdom/tree-node.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
export declare type AnyObject = {
|
||||
[key: string]: any;
|
||||
__rrdom__?: RRdomTreeNode;
|
||||
};
|
||||
export declare class RRdomTreeNode implements AnyObject {
|
||||
parent: AnyObject | null;
|
||||
previousSibling: AnyObject | null;
|
||||
nextSibling: AnyObject | null;
|
||||
firstChild: AnyObject | null;
|
||||
lastChild: AnyObject | null;
|
||||
childrenVersion: number;
|
||||
childIndexCachedUpTo: AnyObject | null;
|
||||
cachedIndex: number;
|
||||
cachedIndexVersion: number;
|
||||
get isAttached(): boolean;
|
||||
get hasChildren(): boolean;
|
||||
childrenChanged(): void;
|
||||
getCachedIndex(parentNode: AnyObject): number;
|
||||
setCachedIndex(parentNode: AnyObject, index: number): void;
|
||||
}
|
||||
Reference in New Issue
Block a user