diff --git a/package.json b/package.json index b2095e2..2bd51d9 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@antfu/ni": "^0.10.1", "@types/jest": "^27.0.2", "@types/node": "^16.11.7", - "@vue/composition-api": "^1.4.0", + "@vue/composition-api": "^1.4.1", "@vue/runtime-dom": "^3.2.23", "bumpp": "^7.1.1", "eslint": "^8.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d8802a8..b144c96 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ importers: '@types/jest': ^27.0.2 '@types/node': ^16.11.7 '@vue/compiler-core': ^3.2.23 - '@vue/composition-api': ^1.4.0 + '@vue/composition-api': ^1.4.1 '@vue/ref-transform': ^3.2.23 '@vue/runtime-dom': ^3.2.23 '@vue/shared': ^3.2.23 @@ -57,7 +57,7 @@ importers: '@antfu/ni': 0.10.1 '@types/jest': 27.0.2 '@types/node': 16.11.7 - '@vue/composition-api': 1.4.0 + '@vue/composition-api': 1.4.1 '@vue/runtime-dom': 3.2.23 bumpp: 7.1.1 eslint: 8.2.0 @@ -3244,6 +3244,14 @@ packages: vue: 2.6.14 dev: false + /@vue/composition-api/1.4.1: + resolution: {integrity: sha512-ZTat9ru/rwecveRnFzlO2mduOBpGfnBdXn+WtBcFLV9UsL/D+6nX47RWuLiVdNxNDX0qphGZRC+JDjwt+YTnRA==} + peerDependencies: + vue: '>= 2.5 < 3' + dependencies: + tslib: 2.3.1 + dev: true + /@vue/preload-webpack-plugin/1.1.2_502c618fc8a7d35df07e93275324a2d0: resolution: {integrity: sha512-LIZMuJk38pk9U9Ur4YzHjlIyMuxPlACdBIHH9/nGYVTsaGKOSnSuELiE8vS9wa+dJpIYspYUOqk+L1Q4pgHQHQ==} engines: {node: '>=6.0.0'} diff --git a/shims.d.ts b/shims.d.ts index 03540da..ec81104 100644 --- a/shims.d.ts +++ b/shims.d.ts @@ -2,5 +2,5 @@ // https://github.com/johnsoncodehk/volar/issues/404 declare module '@vue/runtime-dom' { export * from '@vue/runtime-dom/dist/runtime-dom' - export { defineComponent, PropType } from '@vue/composition-api' + export { defineComponent, PropType, ObjectDirective, FunctionDirective } from '@vue/composition-api' }