Merge pull request #19613 from rhonsby/update-hot-to-optional

Updates hot property in Module interface to optional
This commit is contained in:
Nathan Shively-Sanders
2017-09-07 13:38:52 -07:00
committed by GitHub

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;