diff --git a/types/webpack-hot-client/index.d.ts b/types/webpack-hot-client/index.d.ts index 9b4e2444cf..c8e6500394 100644 --- a/types/webpack-hot-client/index.d.ts +++ b/types/webpack-hot-client/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for webpack-hot-client 3.0 +// Type definitions for webpack-hot-client 4.0 // Project: https://github.com/webpack-contrib/webpack-hot-client // Definitions by: Ryan Clark // ZSkycat diff --git a/types/webpack-hot-client/webpack-hot-client-tests.ts b/types/webpack-hot-client/webpack-hot-client-tests.ts index 29ab2341a7..433c704030 100644 --- a/types/webpack-hot-client/webpack-hot-client-tests.ts +++ b/types/webpack-hot-client/webpack-hot-client-tests.ts @@ -4,3 +4,5 @@ import hot = require('webpack-hot-client'); const compiler = webpack(); hot(compiler, { logLevel: 'info', reload: false }); + +hot(compiler, { logLevel: 'info', reload: false, validTargets: ['web', 'node'] });