ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
19 lines (18 loc) • 487 B
TypeScript
import * as ts from "typescript";
import { Node, Expression } from "./../common";
export declare class ExportAssignment extends Node<ts.ExportAssignment> {
/**
* Gets if this is an export equals assignemnt.
*
* If this is false, then it's `export default`.
*/
isExportEquals(): boolean;
/**
* Gets the export assignment expression.
*/
getExpression(): Expression;
/**
* Removes this export assignment.
*/
remove(): void;
}