Skip to content

Commit 911c431

Browse files
committed
fix: type issue with DocsResponse default status
1 parent a17e130 commit 911c431

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/pages/docs/[...path].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const { data: docsData, status: docsStatus } = useLazyFetch<DocsResponse>(
6767
version: resolvedVersion.value ?? '',
6868
html: '',
6969
toc: null,
70-
status: 'missing',
70+
status: 'missing' as const,
7171
message: 'Docs are not available for this version.',
7272
}),
7373
},

0 commit comments

Comments
 (0)