openpencil/src/App.vue
Danila Poyarkov 31326e8e5e Eliminate as Record<string, unknown> casts
- Add index signature to NodeChange for Kiwi codec fields
- Add blobs field to FigmaMessage
- Use 'in' type guards instead of Record casts in ai-adapter
- Use Object.fromEntries for Partial<SceneNode> property copying
- Use satisfies instead of as for handle position map
- Type node() to accept { children?: unknown; [key: string]: unknown }
- Remove ext() helper in kiwi-convert (direct property access)

37 occurrences → 1 (Kiwi codec boundary only).
2026-03-06 21:43:32 +03:00

19 lines
406 B
Vue

<script setup lang="ts">
import { onMounted } from 'vue'
import { useHead } from '@unhead/vue'
import AppToast from '@/components/AppToast.vue'
import { toast } from '@/composables/use-toast'
useHead({ titleTemplate: (title) => (title ? `${title} — OpenPencil` : 'OpenPencil') })
onMounted(() => {
toast.setupGlobalErrorHandler()
})
</script>
<template>
<RouterView />
<AppToast />
</template>