File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 66
77const WebpackError = require ( "./WebpackError" ) ;
88
9+ /** @typedef {import("./Module.js") } Module */
10+
11+ /** @typedef {import("./Dependency.js").Loc } Loc */
12+
913class CommentCompilationWarning extends WebpackError {
14+ /**
15+ *
16+ * @param {string } message warning message
17+ * @param {Module } module affected module
18+ * @param {Loc } loc affected lines of code
19+ */
1020 constructor ( message , module , loc ) {
1121 super ( message ) ;
1222
Original file line number Diff line number Diff line change 77const compareLocations = require ( "./compareLocations" ) ;
88const DependencyReference = require ( "./dependencies/DependencyReference" ) ;
99
10+ /** @typedef {Object } Position
11+ * @property {number } column
12+ * @property {number } line
13+ */
14+
15+ /** @typedef {Object } Loc
16+ * @property {Position } start
17+ * @property {Position } end
18+ */
19+
1020class Dependency {
1121 constructor ( ) {
1222 this . module = null ;
You can’t perform that action at this time.
0 commit comments