Skip to content

Commit 004a2d3

Browse files
committed
fix: cast page.data to any to avoid type errors
1 parent b6a9838 commit 004a2d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/src/lib/build-graph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function buildGraph(): Graph {
66
const graph: Graph = { links: [], nodes: [] };
77

88
for (const page of pages) {
9-
if (page.data.type === 'openapi') continue;
9+
if ((page.data as any).type === 'openapi') continue;
1010

1111
graph.nodes.push({
1212
id: page.url,

0 commit comments

Comments
 (0)