Skip to content

Commit 0f4e94f

Browse files
lint fixes
1 parent e00e110 commit 0f4e94f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/nodes/export-declaration.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import type { RawNode } from "./node";
2-
import * as ts from "typescript";
32
import type { Expression, ExportDeclaration as RawExport } from "typescript";
43
import * as printers from "../printers";
54
import Node from "./node";
6-
import { checker } from "../checker";
75

86
type ExportDeclarationType = RawExport & {
97
moduleSpecifier?: Expression & {
@@ -27,11 +25,11 @@ export default class ExportDeclaration extends Node<ExportDeclarationType> {
2725
if (this.raw.moduleSpecifier)
2826
specifier = `from '${this.raw.moduleSpecifier.text}';`;
2927

30-
const generateOutput = (prefix) => {
28+
const generateOutput = prefix => {
3129
return `${prefix} {
3230
${elements.map(node => printers.node.printType(node))}
3331
}${specifier}\n`;
34-
}
32+
};
3533

3634
return isTypeImport
3735
? generateOutput(`export type`)

0 commit comments

Comments
 (0)