aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-02-26 21:46:54 +0800
committercrupest <crupest@outlook.com>2023-02-26 21:46:54 +0800
commit48fdb7659e3178cbb7ffb78b57b9a1a24f2dd363 (patch)
tree64bb55b5774c25de90616ccef1f72c651c99c430 /FrontEnd
parentd9191259cc468c35a6ab46303dedc2af9012d76f (diff)
downloadtimeline-48fdb7659e3178cbb7ffb78b57b9a1a24f2dd363.tar.gz
timeline-48fdb7659e3178cbb7ffb78b57b9a1a24f2dd363.tar.bz2
timeline-48fdb7659e3178cbb7ffb78b57b9a1a24f2dd363.zip
Fix prettier lint error.
Diffstat (limited to 'FrontEnd')
-rw-r--r--FrontEnd/src/http/timeline.ts2
-rw-r--r--FrontEnd/src/http/user.ts2
-rw-r--r--FrontEnd/src/palette.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/FrontEnd/src/http/timeline.ts b/FrontEnd/src/http/timeline.ts
index f9f2a6c7..401ae116 100644
--- a/FrontEnd/src/http/timeline.ts
+++ b/FrontEnd/src/http/timeline.ts
@@ -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;
diff --git a/FrontEnd/src/http/user.ts b/FrontEnd/src/http/user.ts
index 5f117078..3a5aa9fc 100644
--- a/FrontEnd/src/http/user.ts
+++ b/FrontEnd/src/http/user.ts
@@ -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;
diff --git a/FrontEnd/src/palette.ts b/FrontEnd/src/palette.ts
index 4b927b5b..d06f9b19 100644
--- a/FrontEnd/src/palette.ts
+++ b/FrontEnd/src/palette.ts
@@ -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>;