build(deps-dev): bump typescript to 4.7.4 (#6215)

This commit is contained in:
Carlos Rodrigues
2022-07-06 09:27:30 +01:00
committed by GitHub
parent 769e5555f9
commit 17c50ce18d
6 changed files with 49 additions and 48 deletions

View File

@@ -128,14 +128,14 @@ function testRender(type: string, render: typeof renderToString) {
await render(
createApp(
defineComponent({
extends: {
extends: defineComponent({
data() {
return { msg: 'hello' }
},
render(this: any) {
render() {
return h('div', this.msg)
}
}
})
})
)
)
@@ -148,14 +148,14 @@ function testRender(type: string, render: typeof renderToString) {
createApp(
defineComponent({
mixins: [
{
defineComponent({
data() {
return { msg: 'hello' }
},
render(this: any) {
render() {
return h('div', this.msg)
}
}
})
]
})
)
@@ -675,9 +675,7 @@ function testRender(type: string, render: typeof renderToString) {
const MyComp = {
render: () => h('p', 'hello')
}
expect(await render(h(KeepAlive, () => h(MyComp)))).toBe(
`<p>hello</p>`
)
expect(await render(h(KeepAlive, () => h(MyComp)))).toBe(`<p>hello</p>`)
})
test('Transition', async () => {