File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,9 @@ const WebpackError = require("./WebpackError");
88
99/** @typedef {import("./Module.js") } Module */
1010
11- /** @typedef {Object } Position
12- * @property {number } column
13- * @property {number } line
14- */
15-
16- /** @typedef {Object } Loc
17- * @property {Position } start
18- * @property {Position } end
19- */
11+ /** @typedef {import("./Dependency.js").Position } Position */
12+
13+ /** @typedef {import("./Dependency.js").Loc } Loc */
2014
2115class CommentCompilationWarning extends WebpackError {
2216 /**
Original file line number Diff line number Diff line change @@ -48,4 +48,17 @@ class Dependency {
4848}
4949Dependency . compare = ( a , b ) => compareLocations ( a . loc , b . loc ) ;
5050
51+ /** @typedef {Object } Position
52+ * @property {number } column
53+ * @property {number } line
54+ */
55+
56+ /** @typedef {Object } Loc
57+ * @property {Position } start
58+ * @property {Position } end
59+ */
60+
61+ exports Position ;
62+ exports Loc ;
63+
5164module . exports = Dependency ;
You can’t perform that action at this time.
0 commit comments