Skip to content

Commit 3de3b0c

Browse files
committed
fix: make localesDirs plugin config an optional
1 parent 5446faa commit 3de3b0c

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)