UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

14 lines (13 loc) 448 B
import * as ts from "typescript"; import { Node } from "./../common"; import { ExpressionWithTypeArguments } from "./../type"; export declare class HeritageClause extends Node<ts.HeritageClause> { /** * Gets all the types for the heritage clause. */ getTypes(): ExpressionWithTypeArguments[]; /** * Gets the heritage clause token. */ getToken(): ts.SyntaxKind.ExtendsKeyword | ts.SyntaxKind.ImplementsKeyword; }