Skip to content

Commit

Permalink
fix: resolve warnings in docs:dev
Browse files Browse the repository at this point in the history
  • Loading branch information
DDDDD12138 authored and cexbrayat committed Nov 20, 2024
1 parent 54862a2 commit 30b7491
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/components/PropWithSymbol.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<template>
<div>Symbol: {{ $props.sym }}</div>
<div>Symbol: {{ sym }}</div>
</template>

<script lang="ts" setup>
interface Props {
sym?: Symbol
}
withDefaults(defineProps<Props>(), {
sym: () => Symbol()
})
const { sym = Symbol() } = defineProps<Props>()
</script>

0 comments on commit 30b7491

Please sign in to comment.