Skip to content

Commit 6fe639b

Browse files
committed
fix: fix plugin options type
1 parent ad67539 commit 6fe639b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export class I18NextHMRPlugin {
22
static addListener(cb: (data: { lang: string; ns: string }) => void): void;
33

4-
constructor(options: { localesDir: string; localesDirs?: string[] });
4+
constructor(options: { localesDir: string; } | { localesDirs: string[] });
55
}

0 commit comments

Comments
 (0)