From 583c5d788dd61c41ccb19fb8257f5dce08b4753c Mon Sep 17 00:00:00 2001 From: tycho Date: Mon, 21 Oct 2024 15:43:50 +0800 Subject: [PATCH] test: fix incorrect default value --- .../tsc/passedFixtures/vue3/defineProp_A/script-setup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-workspace/tsc/passedFixtures/vue3/defineProp_A/script-setup.vue b/test-workspace/tsc/passedFixtures/vue3/defineProp_A/script-setup.vue index be16f46ece..c670dbeacc 100644 --- a/test-workspace/tsc/passedFixtures/vue3/defineProp_A/script-setup.vue +++ b/test-workspace/tsc/passedFixtures/vue3/defineProp_A/script-setup.vue @@ -12,7 +12,7 @@ const bar = defineProp('bar', { }); const baz = defineProp('baz', { required: true, - default: () => [1, 2, 3], + default: () => 1, }); defineProp('qux') defineProp('quux', { default: true })