@@ -3,47 +3,44 @@ declare namespace webpack {
3
3
| {
4
4
type : "declined" ;
5
5
/** The module in question. */
6
- moduleId : number ;
6
+ moduleId : number | string ;
7
7
/** the chain from where the update was propagated. */
8
- chain : number [ ] ;
8
+ chain : ( number | string ) [ ] ;
9
9
/** the module id of the declining parent */
10
- parentId : number ;
11
- moduleId : number | string ;
10
+ parentId : number | string ;
12
11
}
13
12
| {
14
13
type : "self-declined" ;
15
14
/** The module in question. */
16
15
moduleId : number | string ;
17
16
/** the chain from where the update was propagated. */
18
- chain : number [ ] ;
17
+ chain : ( number | string ) [ ] ;
19
18
} ;
20
19
21
20
type UnacceptedEvent = {
22
21
type : "unaccepted" ;
23
22
/** The module in question. */
24
- moduleId : number ;
23
+ moduleId : number | string ;
25
24
/** the chain from where the update was propagated. */
26
- chain : number [ ] ;
25
+ chain : ( number | string ) [ ] ;
27
26
} ;
28
27
29
28
type AcceptedEvent = {
30
29
type : "accepted" ;
31
30
/** The module in question. */
32
- moduleId : number ;
33
- /** the chain from where the update was propagated. */
34
- chain : number [ ] ;
31
+ moduleId : number | string ;
35
32
/** the modules that are outdated and will be disposed */
36
- outdatedModules : number [ ] ;
33
+ outdatedModules : ( number | string ) [ ] ;
37
34
/** the accepted dependencies that are outdated */
38
35
outdatedDependencies : {
39
- [ id : number ] : number [ ] ;
36
+ [ id : number ] : ( number | string ) [ ] ;
40
37
} ;
41
38
} ;
42
39
43
40
type DisposedEvent = {
44
41
type : "disposed" ;
45
42
/** The module in question. */
46
- moduleId : number ;
43
+ moduleId : number | string ;
47
44
} ;
48
45
49
46
type ErroredEvent =
0 commit comments