From 9ca98187d8072cb4f7e2db78d25cbcb1104ee171 Mon Sep 17 00:00:00 2001 From: Robert Honsby Date: Thu, 7 Sep 2017 10:27:23 -0700 Subject: [PATCH] Updates hot property in Module interface to optional --- types/webpack-env/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/webpack-env/index.d.ts b/types/webpack-env/index.d.ts index 777014c506..cb1250fc08 100644 --- a/types/webpack-env/index.d.ts +++ b/types/webpack-env/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for webpack (module API) 1.13 // Project: https://github.com/webpack/webpack // Definitions by: use-strict +// rhonsby // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /** @@ -60,7 +61,7 @@ declare namespace __WebpackModuleApi { loaded: boolean; parent: any; children: any[]; - hot: Hot; + hot?: Hot; } type ModuleId = string|number;