Skip to content

Commit 6c750f8

Browse files
araxorota-meshi
andauthored
feat(types): add TypeScript definitions (#607)
Co-authored-by: Yosuke Ota <[email protected]>
1 parent f78dbdf commit 6c750f8

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.changeset/fast-brooms-bake.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@intlify/eslint-plugin-vue-i18n': minor
3+
---
4+
5+
feat(types): add TypeScript definitions

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"dist"
3636
],
3737
"main": "dist/index.js",
38+
"types": "dist/index.d.ts",
3839
"scripts": {
3940
"build": "tsc --project ./tsconfig.build.json",
4041
"clean": "git clean -fx .nyc_output coverage dist docs/.vitepress/dist",
@@ -83,7 +84,6 @@
8384
"@changesets/changelog-github": "^0.5.0",
8485
"@changesets/cli": "^2.26.2",
8586
"@types/debug": "^4.1.8",
86-
"@types/eslint": "^8.44.1",
8787
"@types/eslint-scope": "^3.7.4",
8888
"@types/glob": "^8.1.0",
8989
"@types/js-yaml": "^4.0.5",

pnpm-lock.yaml

-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.build.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "./tsconfig.json",
33
"exclude": ["tests/lib/**/*", "scripts/**/*", "typings/**/*"],
44
"compilerOptions": {
5+
"declaration": true,
56
"removeComments": true /* Do not emit comments to output. */
67
}
78
}

0 commit comments

Comments
 (0)