File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11import type { RawNode } from "./node" ;
2- import * as ts from "typescript" ;
32import type { Expression , ExportDeclaration as RawExport } from "typescript" ;
43import * as printers from "../printers" ;
54import Node from "./node" ;
6- import { checker } from "../checker" ;
75
86type 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` )
You can’t perform that action at this time.
0 commit comments