Skip to content

Commit

Permalink
chore: fix ts issue for any type
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed Dec 20, 2020
1 parent 80453eb commit 47a471e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/feature-flags-webpack-plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ class FeatureFlagsWebpackPlugin {
function onParseJavascript(parser: javascript.JavascriptParser) {
parser.hooks.evaluate
.for('CallExpression')
.tap('FeatureFlagsWebpackPlugin', (expression) => onCallExpression(expression, parser))
.tap('FeatureFlagsWebpackPlugin', (expression: Expression) =>
onCallExpression(expression, parser),
)
}

function onThisCompilation(_compilation: Compilation, compilationParams: any) {
Expand Down

0 comments on commit 47a471e

Please sign in to comment.