Snippetconst arr = ['1', '2', '3'] as const export type SnippetOutputType = (typeof arr)[number] // '1' | '2' | '3' の型