From c5114a0348d9d4595b0ff7704455a37e89434806 Mon Sep 17 00:00:00 2001 From: hmydgz <920136080@qq.com> Date: Thu, 30 Nov 2023 18:14:07 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E8=A1=A5=E5=85=A8=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 5 +++++ package.json | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..6b8cda1 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,5 @@ +import { checkI18nKeys } from 'i18n-check-keys' + +export default class I18nCheckKeysPlugin { + constructor(options: Parameters[0]) +} \ No newline at end of file diff --git a/package.json b/package.json index 52bf041..6139a7e 100644 --- a/package.json +++ b/package.json @@ -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"