jonathanpmartins / v-money3

Vue3 currency input/directive mask
MIT License
103 stars 27 forks source link

Export types publicly #87

Closed pavanetti closed 9 months ago

pavanetti commented 11 months ago

closes #86

jonathanpmartins commented 9 months ago

Is this related to this pull request? https://github.com/jonathanpmartins/v-money3/pull/84

Your pull request added the types property to the package.json file:

  "exports": {
    ".": {
      "import": "./dist/v-money3.mjs",
      "require": "./dist/v-money3.umd.js",
      "types": "./dist/index.d.ts"
    }
  },

The other pull request kinda refactor it:

  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/v-money3.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/v-money3.umd.js"
      }
    }
  },