mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
rename findDescendants to findDescendant (#36249)
Slate doesn't have a `findDescendants` method on `BaseNode` but `findDescendant`.
This commit is contained in:
committed by
Daniel Rosenwasser
parent
85563341a1
commit
8e151f8cd2
2
types/slate/index.d.ts
vendored
2
types/slate/index.d.ts
vendored
@@ -406,7 +406,7 @@ declare class BaseNode<
|
||||
createRange(properties: RangeProperties | Range): Range;
|
||||
createSelection(properties: SelectionProperties | Selection): Selection;
|
||||
filterDescendants(iterator: (node: Node) => boolean): Immutable.List<Node>;
|
||||
findDescendants(iterator: (node: Node) => boolean): Node | null;
|
||||
findDescendant(iterator: (node: Node) => boolean): Node | null;
|
||||
getActiveMarksAtRange(range: Range): Immutable.Set<Mark>;
|
||||
getAncestors(path: Path): Immutable.List<Node> | null;
|
||||
getBlocks(): Immutable.List<Block>;
|
||||
|
||||
Reference in New Issue
Block a user