Skip to content

Commit

Permalink
fix: fix types.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kawarimidoll committed Aug 14, 2021
1 parent c7ae820 commit ca3c85d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions types.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
export type CssObject = Record<string, Record<string, unknown>>;

// TODO: use disableFlags
export type disableFlag = "rain" | "nav" | "rounded-image";
export type DisableFlag = "rain" | "nav" | "rounded-image";

export type ListGroup = {
icon: string;
items: ListItem[];
};

export type ListItem = {
text: string;
icon: string;
link: string;
text?: string;
icon?: string;
link?: string;
};

export type ConfigObject = {
name: string;
disable: disableFlag[];
disable: DisableFlag[];
description: string;
image: string;
favicon: string;
Expand Down

0 comments on commit ca3c85d

Please sign in to comment.