Skip to content

Commit

Permalink
Fix prettier lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
crupest committed Feb 26, 2023
1 parent b49b2a3 commit f790612
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FrontEnd/src/http/timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { HttpUser } from "./user";

export const kTimelineVisibilities = ["Public", "Register", "Private"] as const;

export type TimelineVisibility = typeof kTimelineVisibilities[number];
export type TimelineVisibility = (typeof kTimelineVisibilities)[number];

export interface HttpTimelineInfo {
uniqueId: string;
Expand Down
2 changes: 1 addition & 1 deletion FrontEnd/src/http/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const kUserPermissionList = [
kHighlightTimelineManagement,
] as const;

export type UserPermission = typeof kUserPermissionList[number];
export type UserPermission = (typeof kUserPermissionList)[number];

export interface HttpUser {
uniqueId: string;
Expand Down
2 changes: 1 addition & 1 deletion FrontEnd/src/palette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const paletteColorList = [
"success",
] as const;

export type PaletteColorType = typeof paletteColorList[number];
export type PaletteColorType = (typeof paletteColorList)[number];

export type Palette = Record<PaletteColorType, PaletteColor>;

Expand Down

0 comments on commit f790612

Please sign in to comment.