Skip to content

Commit

Permalink
fix: Make types more flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3k0 authored and 3y3 committed Jun 29, 2023
1 parent 90b6a91 commit e82d360
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ export enum Vcs {

export interface DocPageData extends DocBasePageData {
leading?: false;
breadcrumbs: BreadcrumbItem[];
breadcrumbs?: BreadcrumbItem[];
html: string;
title: string;
title?: string;
headings: DocHeadingItem[];
meta: DocMeta;
vcsUrl?: string;
Expand All @@ -88,7 +88,7 @@ export interface DocMeta {
}

export interface TocData {
title: string;
title?: string;
href: string;
items: TocItem[];
stage?: string;
Expand Down

0 comments on commit e82d360

Please sign in to comment.