Fix prop typing
This commit is contained in:
@@ -205,8 +205,15 @@ describe("origin-relative scene graph", () => {
|
||||
let xMounts = 0;
|
||||
let xUnmounts = 0;
|
||||
let yUnmounts = 0;
|
||||
|
||||
const X = defineComponent({
|
||||
name: "X",
|
||||
props: {
|
||||
message: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
setup() {
|
||||
onMounted(() => {
|
||||
xMounts += 1;
|
||||
@@ -214,6 +221,9 @@ describe("origin-relative scene graph", () => {
|
||||
onUnmounted(() => {
|
||||
xUnmounts += 1;
|
||||
});
|
||||
defineProps<{
|
||||
message: string;
|
||||
}>();
|
||||
return () =>
|
||||
h(
|
||||
"div",
|
||||
|
||||
Reference in New Issue
Block a user