fix #12568
@@ -93,3 +93,11 @@ defineComponent({
res?.charAt(1)
}
})
+
+// #12568
+const vm = new Vue({
+ setup() {},
+ render: h => h({})
+})
+vm.$mount('#app')
@@ -85,7 +85,12 @@ export type CombinedVueInstance<
Computed,
Props,
SetupBindings
-> = Data & Methods & Computed & Props & Instance & SetupBindings
+> = Data &
+ Methods &
+ Computed &
+ Props &
+ Instance &
+ (SetupBindings extends void ? {} : SetupBindings)
export type ExtendedVue<
Instance extends Vue,