Skip to content

Commit 58d54d7

Browse files
committed
Fix TS error
1 parent 47f1e89 commit 58d54d7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/models/module.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,4 @@ export class ModuleNode {
55
public name: string,
66
public exports: ExportNode[],
77
) {}
8-
9-
toObject(): Record<string, unknown> {
10-
return {
11-
name: this.name,
12-
exports: this.exports.map((exportNode) => exportNode.toObject()),
13-
};
14-
}
158
}

0 commit comments

Comments
 (0)