diff --git a/packages/examples/vue3/src/example-component.vue b/packages/examples/vue3/src/example-component.vue index 02c021ee..ab096b30 100755 --- a/packages/examples/vue3/src/example-component.vue +++ b/packages/examples/vue3/src/example-component.vue @@ -16,7 +16,7 @@ import { YandexMapZoomControl, } from 'vue-yandex-maps'; -const clusterCoordinates = [ +const clusterCoordinates: [number, number][] = [ [37.64, 55.76], [37.63, 55.7], [37.43, 55.69], diff --git a/packages/vue-yandex-maps/package.json b/packages/vue-yandex-maps/package.json index 3604b439..a3bb9b4d 100755 --- a/packages/vue-yandex-maps/package.json +++ b/packages/vue-yandex-maps/package.json @@ -5,13 +5,17 @@ "main": "./dist/vue-yandex-maps.js", "types": "./dist/index.d.ts", "exports": { - ".": "./dist/vue-yandex-maps.js", + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/vue-yandex-maps.js" + }, "./nuxt": { "types": "./dist/nuxt/types.d.ts", "import": "./dist/nuxt/module.mjs", "require": "./dist/nuxt/module.cjs" }, - "./nuxt2": "./dist/nuxt2.js" + "./nuxt2": "./dist/nuxt2.js", + "./dist/*": "./dist/*" }, "scripts": { "build": "yarn workspace nuxt prepack && yarn build:package-only",