Skip to content

Commit afdbf71

Browse files
author
Legends
committed
removing typedef exports
1 parent 7969a5a commit afdbf71

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

lib/Dependency.js

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
const compareLocations = require("./compareLocations");
88
const 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+
1020
class Dependency {
1121
constructor() {
1222
this.module = null;
@@ -48,17 +58,4 @@ class Dependency {
4858
}
4959
Dependency.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-
6461
module.exports = Dependency;

0 commit comments

Comments
 (0)