Skip to content
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

script setup:マークダウン系のコンポーネントを移行 #1093

Merged
merged 8 commits into from
Jan 7, 2023

Conversation

sevenc-nanashi
Copy link
Member

内容

マークダウン系のコンポーネントをscript setupに移行します。
どのファイルを変更したかはFiles Changedを参照して下さい。

関連 Issue

スクリーンショット・動画など

(なし)

その他

(なし)

@sevenc-nanashi sevenc-nanashi requested a review from a team as a code owner January 6, 2023 15:00
@sevenc-nanashi sevenc-nanashi requested review from Hiroshiba and removed request for a team January 6, 2023 15:00
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

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

LGTM!!

あ、Vueとquasarアプデの差分が含まれちゃってるかもです。
(Githubサイト上でワンボタンでmainブランチに追従できる機能あれば便利なんですが、見当たらないですね・・・。)

Comment on lines +75 to +78
const emit =
defineEmits<{
(e: "update:modelValue", value: boolean): void;
}>();
Copy link
Member

Choose a reason for hiding this comment

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

公式がeなんですね!


setup(props, { emit }) {
Copy link
Member

Choose a reason for hiding this comment

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

あれ、そういえば以前はemit書かれてないですね。書かなくても大丈夫だったのかな。

@Hiroshiba
Copy link
Member

あ、もしよかったら @k-chop さんも見てみて頂けると心強いです!!

@k-chop
Copy link
Contributor

k-chop commented Jan 7, 2023

emit、使い方から推論してより詳しい型書いて頂いてるんですね、ありがとうございます 🙏
コード確認し、手元のVSCodeで定義側・利用側でエラーや警告が出ていないこと、動作も問題ないことを確認しました!
LGTM!!

@Hiroshiba
Copy link
Member

PR・レビューありがとうございます!マージします!!

@Hiroshiba Hiroshiba merged commit 9869e23 into VOICEVOX:main Jan 7, 2023
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.

3 participants