Skip to content

Commit 07dc963

Browse files
authored
fix(docs): isProductNode should include new ExternalProductNode type (#4637)
1 parent 5e53a6e commit 07dc963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { NavigationNode, ProductNode } from ".";
22

33
export function isProductNode(node: NavigationNode): node is ProductNode {
4-
return node.type === "product";
4+
return node.type === "product" || node.type === "productLink";
55
}

0 commit comments

Comments
 (0)