Skip to content

Commit

Permalink
fix: comic author and description can be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
lgou2w committed Oct 5, 2021
1 parent c9cb306 commit 3104bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface Comic {
_id: string
id: string
title: string
author: string
author?: string
totalViews: number
totalLikes: number
likesCount: number
Expand Down Expand Up @@ -59,7 +59,7 @@ export interface Creator {
export interface ComicInfo extends Comic {
_creator: Creator
chineseTeam: string
description: string
description?: string
tags: string[]
updated_at: string
created_at: string
Expand Down

0 comments on commit 3104bf9

Please sign in to comment.