Skip to content

Commit 7277cc5

Browse files
renovate[bot]cexbrayat
authored andcommitted
chore(deps): update dependency typescript to v5
1 parent b08b1f0 commit 7277cc5

File tree

3 files changed

+44
-44
lines changed

3 files changed

+44
-44
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"reflect-metadata": "0.1.13",
5454
"rollup": "3.21.6",
5555
"tslib": "2.5.0",
56-
"typescript": "4.9.5",
56+
"typescript": "5.0.4",
5757
"unplugin-vue-components": "0.24.1",
5858
"vite": "4.3.5",
5959
"vitepress": "0.22.4",

pnpm-lock.yaml

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/createInstance.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function getInstanceOptions(
6868

6969
// implementation
7070
export function createInstance(
71-
inputComponent: DefineComponent<{}, {}, any>,
71+
inputComponent: DefineComponent<{}, {}, any, any, any, any>,
7272
options?: MountingOptions<any> & Record<string, any>
7373
) {
7474
// normalize the incoming component
@@ -209,7 +209,7 @@ export function createInstance(
209209

210210
// global mocks mixin
211211
if (global?.mocks) {
212-
const mixin = defineComponent({
212+
const mixin: ComponentOptions = {
213213
beforeCreate() {
214214
// we need to differentiate components that are or not not `script setup`
215215
// otherwise we run into a proxy set error
@@ -247,7 +247,7 @@ export function createInstance(
247247
}
248248
}
249249
}
250-
})
250+
}
251251

252252
app.mixin(mixin)
253253
}

0 commit comments

Comments
 (0)