fix(ui) : add lang=ts to script tags using TypeScript syntax

ComponentItem, PieceItem, and machine/[id] used 'as string' type
assertions but were missing lang="ts" on their script tags.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-04 17:16:58 +02:00
parent 48beff753e
commit 644b05c30a
3 changed files with 3 additions and 3 deletions

View File

@@ -329,7 +329,7 @@
</div>
</template>
<script setup>
<script setup lang="ts">
import { ref, watch, computed } from 'vue'
import PieceItem from './PieceItem.vue'
import DocumentUpload from './DocumentUpload.vue'

View File

@@ -314,7 +314,7 @@
</div>
</template>
<script setup>
<script setup lang="ts">
import { reactive, ref, onMounted, watch, computed } from 'vue'
import ConstructeurSelect from './ConstructeurSelect.vue'
import ProductSelect from '~/components/ProductSelect.vue'

View File

@@ -200,7 +200,7 @@
</div>
</template>
<script setup>
<script setup lang="ts">
import { computed, ref, watch, onMounted } from 'vue'
import { useRoute } from 'vue-router'
import { useMachineDetailData } from '~/composables/useMachineDetailData'