-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
市章当てクイズで都道府県を指定できるように #952
Conversation
city-symbol/index.ts
Outdated
placeImage: 'https://raw.githubusercontent.com/hakatashi/icon/master/images/icon_480px.png', | ||
ruby: 'はかたし', | ||
}; | ||
const getRandomCitySymbol = async (prefSet: Set<PrefectureKanji> = new Set(Object.keys(prefectures) as PrefectureKanji[]), allowEasterEgg: boolean = true): Promise<City> => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[MAY]
allowEasterEggいらないきがする (prefsetが指定されていればfalseでよさそう)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[MAY] 変換めんどくさいのでまあArrayでよさそう?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allowEasterEgg
なんかもうちょい別の(イースターエッグを消したい)状況が出たときのために引数入れといてもいいかな~と雑に思っています
Array
ま~やっぱそうかなあ(意味的には Set であってほしいが、回りくどいな~とは思っていた)
Co-authored-by: Koki Takahashi <[email protected]>
13c90ee
to
ff1b21e
Compare
した
・都道府県を指定したときは実績は解除しない