Skip to content

Conversation

@Hiroshiba
Copy link
Member

@Hiroshiba Hiroshiba commented Oct 25, 2023

内容

型を簡単にできそうだったのでやってみました。
state.score?.hoge ?? fugaとなっているところをundefined考慮しない形にできそうだったのですが、とりあえずundefinedを省いただけにしました。

関連 Issue

ref VOICEVOX/voicevox_project#15

その他

ついでにsetupでnullを返すとワーニングが出るっぽいのでそちらも変更しておきました。

@Hiroshiba Hiroshiba requested a review from a team as a code owner October 25, 2023 18:04
@Hiroshiba Hiroshiba requested review from y-chan and removed request for a team and y-chan October 25, 2023 18:04
setup() {
return null;
return {};
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ワーニング除去用のついでの変更です!

Copy link
Collaborator

@sigprogramming sigprogramming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます!LGTMです!
undefinedのチェックを行っているところも後で修正したいと思います…!

@Hiroshiba
Copy link
Member Author

マージします!

@Hiroshiba Hiroshiba merged commit 0def6f0 into VOICEVOX:project-s Oct 26, 2023
@Hiroshiba Hiroshiba deleted the remove-undefineable-score branch October 26, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants