mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
[webpack] fix ToJsonOutput.chunks (should be an array) (#35219)
* fix incorrectly typed property * fix lint issues
This commit is contained in:
committed by
John Reilly
parent
ee9bf2dc97
commit
23bd4f381e
Vendored
+2
-2
@@ -1307,7 +1307,7 @@ declare namespace webpack {
|
||||
assetsByChunkName?: Record<string, Record<string, string[]>>;
|
||||
builtAt?: number;
|
||||
children?: ToJsonOptions[] & { name?: string };
|
||||
chunks?: {
|
||||
chunks?: Array<{
|
||||
children: number[];
|
||||
childrenByOrder: Record<string, number[]>;
|
||||
entry: boolean;
|
||||
@@ -1333,7 +1333,7 @@ declare namespace webpack {
|
||||
rendered: boolean;
|
||||
size: number;
|
||||
siblings: number[];
|
||||
};
|
||||
}>;
|
||||
entrypoints?: Record<string, ChunkGroup>;
|
||||
errors: string[];
|
||||
env?: Record<string, any>;
|
||||
|
||||
Reference in New Issue
Block a user