-
Notifications
You must be signed in to change notification settings - Fork 312
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
FIX: 型エラーの修正 #1293
FIX: 型エラーの修正 #1293
Conversation
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.
ほぼLGTMです!!
ちなみに手に負えなかった強敵はどのあたりにいましたか・・・?
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
この状態で voicevox/src/components/MenuBar.vue Line 225 in e23cfe4
- const menudata = ref<MenuItemData[]>([
+ const menudata: Ref<MenuItemData[]> = ref([ で voicevox/src/components/MenuBar.vue Line 11 in e23cfe4
のエラーは消えるが menudata がMenuItemData[] に一致しないという雰囲気のエラーが出てしまい解決方法が思い浮かばない
voicevox/src/components/LibraryPolicy.vue Lines 17 to 26 in e23cfe4
voicevox/src/components/LibraryPolicy.vue Lines 53 to 69 in e23cfe4
engineInfos.get(engineId) がundefine になる可能性になるが?. を使わずに解決が面倒
MenuItem.vue voicevox/src/components/EngineManageDialog.vue Lines 279 to 281 in e23cfe4
Object.entries で型情報が消える。SupportedFeatures のキーを直接記述してアクセスすればよさそうな気がするが型の修正の範囲を超えそう・機能増えたときに追加忘れがあるそうで手が出せず。
特に色々試して結局解決しなかったところはこんな感じです |
なるほどです!!! 詳細ありがとうございます。 |
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.
LGTM!!!
マージします!! |
内容
で出てくる型エラーの一部を修正しました。
その他
残りのエラーは自分には手に負えそうもなさそうです…