Skip to content

Commit

Permalink
chore(deps): update dependency typescript to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and cexbrayat committed May 11, 2023
1 parent 41b772e commit aa54609
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"reflect-metadata": "0.1.13",
"rollup": "3.21.6",
"tslib": "2.5.0",
"typescript": "4.9.5",
"typescript": "5.0.4",
"unplugin-vue-components": "0.24.1",
"vite": "4.3.5",
"vitepress": "0.22.4",
Expand Down
80 changes: 40 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/createInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function getInstanceOptions(

// implementation
export function createInstance(
inputComponent: DefineComponent<{}, {}, any>,
inputComponent: DefineComponent<{}, {}, any, any, any, any>,
options?: MountingOptions<any> & Record<string, any>
) {
// normalize the incoming component
Expand Down Expand Up @@ -209,7 +209,7 @@ export function createInstance(

// global mocks mixin
if (global?.mocks) {
const mixin = defineComponent({
const mixin: ComponentOptions = {
beforeCreate() {
// we need to differentiate components that are or not not `script setup`
// otherwise we run into a proxy set error
Expand Down Expand Up @@ -247,7 +247,7 @@ export function createInstance(
}
}
}
})
}

app.mixin(mixin)
}
Expand Down

0 comments on commit aa54609

Please sign in to comment.