Open kongku opened 6 months ago
the sfc use options style with typescript, as follow:
<script lang="ts"> export default defineComponent({ pros:{ foo:{ type: String, default: "bar" } } }) </script>
after build:
<script> export default defineComponent({ pros:{ foo:{ type: String, default: "bar" } } }) </script>
the sfc use options style with typescript, as follow:
after build: