Skip to content

Commit

Permalink
fix: enum implicit cast
Browse files Browse the repository at this point in the history
  • Loading branch information
sehnryr committed Nov 9, 2024
1 parent 88caafe commit 196543f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/types/manga.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
export enum Status {
Unknown,
Ongoing,
Completed,
Hiatus,
Cancelled,
Unknown = "Unknown",
Ongoing = "Ongoing",
Completed = "Completed",
Hiatus = "Hiatus",
Cancelled = "Cancelled",
}

export enum ContentRating {
Safe,
Suggestive,
Nsfw,
Safe = "Safe",
Suggestive = "Suggestive",
Nsfw = "Nsfw",
}

export enum ReadingMode {
RightToLeft,
LeftToRight,
Vertical,
Scroll,
RightToLeft = "RightToLeft",
LeftToRight = "LeftToRight",
Vertical = "Vertical",
Scroll = "Scroll",
}

export interface Manga {
Expand Down

0 comments on commit 196543f

Please sign in to comment.