Skip to content

Commit f281723

Browse files
committed
Add typing for ChunkRenderError
1 parent 830e6d2 commit f281723

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/ChunkRenderError.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@
66

77
const WebpackError = require("./WebpackError");
88

9+
/** @typedef {import("./Chunk")} Chunk */
10+
911
class ChunkRenderError extends WebpackError {
12+
/**
13+
* Create a new ChunkRenderError
14+
* @param {Chunk} chunk A chunk
15+
* @param {string} file Related file
16+
* @param {Error} error Original error
17+
*/
1018
constructor(chunk, file, error) {
1119
super();
1220

0 commit comments

Comments
 (0)