Updates hot property in Module interface to optional

This commit is contained in:
Robert Honsby
2017-09-07 10:27:23 -07:00
parent 1394f87db6
commit 9ca98187d8
+2 -1
View File
@@ -1,6 +1,7 @@
// Type definitions for webpack (module API) 1.13
// Project: https://github.com/webpack/webpack
// Definitions by: use-strict <https://github.com/use-strict>
// rhonsby <https://github.com/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;