Skip to content

Commit

Permalink
style: npm run fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tktcorporation authored Jan 15, 2023
1 parent 2773c33 commit 3c73d3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/domain/linkStyle/LinkStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const LinkStyleValue = {
Body: 'body',
Comment: 'comment',
} as const;
type LinkStyleValue = typeof LinkStyleValue[keyof typeof LinkStyleValue];
type LinkStyleValue = (typeof LinkStyleValue)[keyof typeof LinkStyleValue];

const isLinkStyleValue = (value: string): value is LinkStyleValue =>
typeof value === 'string' &&
Expand Down
2 changes: 1 addition & 1 deletion src/domain/position/Position.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const PositionValue = {
Top: 'top',
Bottom: 'bottom',
} as const;
type PositionValue = typeof PositionValue[keyof typeof PositionValue];
type PositionValue = (typeof PositionValue)[keyof typeof PositionValue];

const isPositionValue = (value: string): value is PositionValue =>
typeof value === 'string' &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export const TextMapping = {
resolve: 'Resolve',
listPrefix: '- ' /* ここで whitespace を呼べないものか */,
} as const;
export type TextMapping = typeof TextMapping[keyof typeof TextMapping];
export type TextMapping = (typeof TextMapping)[keyof typeof TextMapping];

0 comments on commit 3c73d3e

Please sign in to comment.