mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-17 13:20:52 +08:00
deps: update vue-tsc
This commit is contained in:
parent
7549985940
commit
7ba34c4147
@ -120,7 +120,7 @@
|
||||
"vite": "^2.9.5",
|
||||
"vue": "^3.2.33",
|
||||
"vue-router": "^4.0.14",
|
||||
"vue-tsc": "0.33.9"
|
||||
"vue-tsc": "0.34.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^3.0.0"
|
||||
|
@ -97,7 +97,10 @@ export default defineComponent({
|
||||
isPrev ? this.prevSlideStyle : '',
|
||||
isNext ? this.nextSlideStyle : ''
|
||||
]}
|
||||
// @ts-expect-error
|
||||
// We use ts-ignore for vue-tsc, since it seems to patch native event
|
||||
// for vue components
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
|
||||
// @ts-ignore
|
||||
onClickCapture={this.handleClick}
|
||||
>
|
||||
{slots.default?.({
|
||||
|
@ -232,7 +232,10 @@ export default defineComponent({
|
||||
},
|
||||
this.$attrs.style
|
||||
]}
|
||||
// @ts-expect-error
|
||||
// We use ts-ignore for vue-tsc, since it seems to patch
|
||||
// native event for vue components
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
|
||||
// @ts-ignore
|
||||
onClick={() => {
|
||||
this.showPanel = !this.showPanel
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user