Fix prop typing

This commit is contained in:
2026-08-12 00:28:01 +00:00
parent 435ac9a899
commit d8303107fb
3 changed files with 26 additions and 7 deletions
+10
View File
@@ -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",