@lexical/link 0.12.6 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,7 +59,7 @@ declare export function $createLinkNode(
59
59
  ): LinkNode;
60
60
  declare export function $isLinkNode(
61
61
  node: ?LexicalNode,
62
- ): boolean %checks(node instanceof LinkNode);
62
+ ): node is LinkNode;
63
63
  declare export class AutoLinkNode extends LinkNode {
64
64
  static getType(): string;
65
65
  // $FlowFixMe clone method inheritance
@@ -75,7 +75,7 @@ declare export function $createAutoLinkNode(
75
75
  ): AutoLinkNode;
76
76
  declare export function $isAutoLinkNode(
77
77
  node: ?LexicalNode,
78
- ): boolean %checks(node instanceof AutoLinkNode);
78
+ ): node is AutoLinkNode;
79
79
 
80
80
  declare export var TOGGLE_LINK_COMMAND: LexicalCommand<
81
81
  string | {url: string, ...LinkAttributes} | null,
package/package.json CHANGED
@@ -8,13 +8,13 @@
8
8
  "link"
9
9
  ],
10
10
  "license": "MIT",
11
- "version": "0.12.6",
11
+ "version": "0.13.1",
12
12
  "main": "LexicalLink.js",
13
13
  "peerDependencies": {
14
- "lexical": "0.12.6"
14
+ "lexical": "0.13.1"
15
15
  },
16
16
  "dependencies": {
17
- "@lexical/utils": "0.12.6"
17
+ "@lexical/utils": "0.13.1"
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",