ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
32 lines (31 loc) • 788 B
TypeScript
import * as ts from "typescript";
import { SymbolDisplayPart } from "./../tools";
import { JSDocTagInfo } from "./../doc";
import { TypeParameter, Type } from "./../type";
import { Symbol } from "./Symbol";
export declare class Signature {
/**
* Gets the underlying compiler signature.
*/
readonly compilerSignature: ts.Signature;
/**
* Gets the type parameters.
*/
getTypeParameters(): TypeParameter[];
/**
* Gets the parameters.
*/
getParameters(): Symbol[];
/**
* Gets the signature return type.
*/
getReturnType(): Type;
/**
* Get the documentation comments.
*/
getDocumentationComments(): SymbolDisplayPart[];
/**
* Gets the JS doc tags.
*/
getJsDocTags(): JSDocTagInfo[];
}