File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Expand file tree Collapse file tree 1 file changed +10
-13
lines changed 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 ;
@@ -48,17 +58,4 @@ class Dependency {
4858}
4959Dependency . compare = ( a , b ) => compareLocations ( a . loc , b . loc ) ;
5060
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-
6461module . exports = Dependency ;
You can’t perform that action at this time.
0 commit comments