Skip to content

Commit

Permalink
🎨 npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q committed Jul 12, 2023
1 parent 58ed515 commit a29ccce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/markdown/effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const animeEffects = [
] as const
const sizeEffects = ['ex-large', 'large', 'small'] as const

type AnimeEffectsCustom = typeof animeEffects[number]
type SizeEffectsCustom = typeof sizeEffects[number]
type AnimeEffectsCustom = (typeof animeEffects)[number]
type SizeEffectsCustom = (typeof sizeEffects)[number]

// []でくくっているのはDistributive Conditional Typesを避けたいため
// https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#distributive-conditional-types
Expand Down
2 changes: 1 addition & 1 deletion src/store/ui/messageInputStateStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import type { ChannelId } from '/@/types/entity-ids'
* share-target: Web Share Target APIで使う画面で利用
*/
const VIRTUAL_IDS = ['share-target'] as const
export type VirtualChannelId = typeof VIRTUAL_IDS[number]
export type VirtualChannelId = (typeof VIRTUAL_IDS)[number]
const virtualIds: ReadonlySet<string> = new Set(VIRTUAL_IDS)

export interface MessageInputState {
Expand Down

0 comments on commit a29ccce

Please sign in to comment.