Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 979556b

Browse files
committed
chore: upgrade @vue/composition-api
* adds types for ComponentPropsOptions, ComputedOptions, MethodOptions
1 parent 53b1de6 commit 979556b

File tree

3 files changed

+132
-93
lines changed

3 files changed

+132
-93
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"watch": "yarn build -w"
6363
},
6464
"dependencies": {
65-
"@vue/composition-api": "1.0.0-rc.7",
65+
"@vue/composition-api": "1.0.0-rc.8",
6666
"defu": "^4.0.1",
6767
"estree-walker": "^2.0.2",
6868
"magic-string": "^0.25.7",
@@ -71,7 +71,7 @@
7171
},
7272
"devDependencies": {
7373
"@babel/plugin-transform-runtime": "^7.13.15",
74-
"@babel/preset-env": "^7.13.15",
74+
"@babel/preset-env": "^7.14.0",
7575
"@babel/preset-typescript": "^7.13.0",
7676
"@nuxt/test-utils": "^0.2.2",
7777
"@nuxt/types": "^2.15.4",

src/runtime/composables/vue.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ export type {
22
App,
33
ComponentInternalInstance,
44
ComponentInstance,
5+
ComponentPropsOptions,
56
ComponentRenderProxy,
67
ComputedGetter,
8+
ComputedOptions,
79
ComputedRef,
810
ComputedSetter,
911
Data,
@@ -12,6 +14,7 @@ export type {
1214
ExtractPropTypes,
1315
FlushMode,
1416
InjectionKey,
17+
MethodOptions,
1518
PropOptions,
1619
PropType,
1720
Ref,

0 commit comments

Comments
 (0)