Commit 428dd3f
fix(types): use
This fixes the test failure in #2233
Vue 3.3.8 added a new type in the `VNodeChildAtom` union type:
vuejs/core@405f345#diff-9b2ba253038f7b71dbbbcb545e028d2d51d27d88b041b918c9eb102a83fef189R117
causing incompatiblity with the type defined in this repository.
By using types exported from the `vue` package instead of defining our
own, we can avoid similar breakges in the future.
`VNodeChild` type has been available since 3.0.0-beta.1.VNodeChild type from vue to avoid breakage1 parent 446a223 commit 428dd3f
1 file changed
+3
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 96 | + | |
| 97 | + | |
105 | 98 | | |
106 | 99 | | |
107 | 100 | | |
| |||
0 commit comments