Skip to content

Commit

Permalink
Update packages/react-refresh-utils/ReactRefreshWebpackPlugin.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer authored Jul 15, 2020
1 parent 2402df5 commit 4b30173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-refresh-utils/ReactRefreshWebpackPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
function injectRefreshFunctions(compilation: Compilation.Compilation) {
const hookVars: any = (compilation.mainTemplate.hooks as any).localVars

hookVars.tap('ReactFreshWebpackPlugin', (source) =>
hookVars.tap('ReactFreshWebpackPlugin', (source: string) =>
Template.asString([
source,
'',
Expand Down

0 comments on commit 4b30173

Please sign in to comment.