Skip to content

Commit

Permalink
fix: make localesDirs plugin config an optional
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed May 22, 2023
1 parent 5446faa commit 3de3b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export class I18NextHMRPlugin {
static addListener(cb: (data: { lang: string; ns: string }) => void): void;

constructor(options: { localesDir: string; localesDirs: string[] });
constructor(options: { localesDir: string; localesDirs?: string[] });
}

0 comments on commit 3de3b0c

Please sign in to comment.