Skip to content

Commit

Permalink
✨ feat: 补全类型声明
Browse files Browse the repository at this point in the history
  • Loading branch information
hmydgz committed Nov 30, 2023
1 parent 3eb1aa9 commit c5114a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { checkI18nKeys } from 'i18n-check-keys'

export default class I18nCheckKeysPlugin {
constructor(options: Parameters<typeof checkI18nKeys>[0])
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "i18n-check-keys-webpack-plugin",
"version": "0.1.12",
"version": "0.1.13",
"description": "i18n-check-keys webpack plugin",
"main": "index.js",
"types": "index.d.ts",
"files": ["index.js"],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit c5114a0

Please sign in to comment.