Skip to content

Commit

Permalink
✨ feat: 调整类型声明
Browse files Browse the repository at this point in the history
  • Loading branch information
hmydgz committed Dec 1, 2023
1 parent 1817fb2 commit 8c4aa06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { checkI18nKeys } from 'i18n-check-keys'

export default class I18nCheckKeysPlugin {
declare class I18nCheckKeysPlugin {
constructor(options: Parameters<typeof checkI18nKeys>[0])
}
}

export = I18nCheckKeysPlugin
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "i18n-check-keys-webpack-plugin",
"version": "0.1.14",
"version": "0.1.15",
"description": "i18n-check-keys webpack plugin",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 8c4aa06

Please sign in to comment.