mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 19:04:13 +08:00
Merge pull request #19613 from rhonsby/update-hot-to-optional
Updates hot property in Module interface to optional
This commit is contained in:
3
types/webpack-env/index.d.ts
vendored
3
types/webpack-env/index.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user