combine overloads

This commit is contained in:
Sebastian Greaves
2018-12-12 12:20:37 +00:00
parent eb2b63eda6
commit ca4eeb2e4a
+1 -1
View File
@@ -409,7 +409,7 @@ declare class BaseNode<
getChild(path: Path): Node | null;
getClosestBlock(path: Path): Block | null;
getClosestInline(path: Path): Inline | null;
getClosestVoid(path: Path): Node | null;
getClosestVoid(key: string | Path): Node | null;
getClosestVoid(key: string): Node | null;
getClosest(path: Path, iterator: (node: Node) => boolean): Node | null;
getCommonAncestor(a: Path, b: Path): Node;