Remove depecated usage of %checks from Flow types (#5477)

This commit is contained in:
John Flockton
2024-01-11 15:31:24 +00:00
committed by GitHub
parent 736d351fd7
commit b339ecf179
13 changed files with 36 additions and 38 deletions

View File

@ -27,6 +27,6 @@ declare export class OverflowNode extends ElementNode {
declare export function $createOverflowNode(): OverflowNode;
declare export function $isOverflowNode(
node: ?LexicalNode,
): boolean %checks(node instanceof OverflowNode);
): node is OverflowNode;
export type SerializedOverflowNode = SerializedElementNode;