st-bundle
Version:
CLI for watching and bundling SpringType projects.
25 lines (24 loc) • 860 B
TypeScript
import { ExportSpecifier, FunctionDeclaration, ClassDeclaration, ObjectLiteralExpression } from 'ts-morph';
import { ImportVariable } from './ImportVariable';
import { ESLink } from './ESLink';
export declare enum ExportReferenceType {
ImportReference = "ImportReference",
Object = "Object",
DefaultAssignment = "DefaultAssignment"
}
export declare class ExportReference {
link: ESLink;
type: ExportReferenceType;
name: string;
exported: string;
objectNode: FunctionDeclaration | ClassDeclaration;
objectLiteralExpressionNode: ObjectLiteralExpression;
exportSpecifierNode: ExportSpecifier;
dependantVariables: Array<ImportVariable>;
dependantExports: Array<ExportReference>;
constructor(link: ESLink);
hasExternalDependants(): boolean;
findObject(): void;
getText(): string;
toJSON(): any;
}