Skip to content

Commit

Permalink
Fix strict type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Perlmint committed Jun 8, 2019
1 parent 0a9feb5 commit 7e84b63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ function removeMap<T>(obj: _.Dictionary<T>, keys: (string | undefined)[]) {
}

export default class I18nextPlugin {
protected compilation: wp.Compilation;
protected compilation!: wp.Compilation;
protected option: InternalOption;
protected context: string;
protected context!: string;
protected missingKeys: CollectedKeys = {};
protected startTime = Date.now();
protected prevTimestamps: {[file: string]: number} = {};
Expand Down Expand Up @@ -531,4 +531,4 @@ export default class I18nextPlugin {
this.compilation.warnings.push(msg);
}
}
}
}

0 comments on commit 7e84b63

Please sign in to comment.