Slide 33
Slide 33 text
33
コード変換精度⽐較
atomsコンポーネントの変換結果
Claude GitHub Copilot
<script setup lang="ts">
interface Props {
label: string
disabled?: boolean
// 省略
}
withDefaults(defineProps<Props>(), {
disabled: false,
// 省略
})
import { defineProps, withDefaults } from
'vue';
const props = withDefaults(defineProps<{
label: string;
disabled?: boolean;
// 省略
}>(), {
disabled: false,
width: '',
// 省略
});