Skip to content

Commit

Permalink
test(tsc): add a test case for class component
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Oct 26, 2024
1 parent 994ccd0 commit cd11190
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script lang="ts">
export default class {
private data = 'Hello, Vue 3!';
}
</script>

<template>
<div>{{ data }}</div>
</template>

0 comments on commit cd11190

Please sign in to comment.