UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

12 lines (11 loc) 1.07 kB
import { NamedNodeStructure, AsyncableNodeStructure, GeneratorableNodeStructure, AmbientableNodeStructure, ExportableNodeStructure, JSDocableNodeStructure, BodyableNodeStructure } from "./../base"; import { FunctionLikeDeclarationStructure } from "./FunctionLikeDeclarationStructure"; import { SignaturedDeclarationStructure } from "./SignaturedDeclarationStructure"; import { StatementedNodeStructure } from "./../statement"; export interface FunctionDeclarationStructure extends FunctionDeclarationSpecificStructure, NamedNodeStructure, FunctionLikeDeclarationStructure, StatementedNodeStructure, AsyncableNodeStructure, GeneratorableNodeStructure, AmbientableNodeStructure, ExportableNodeStructure, BodyableNodeStructure { } export interface FunctionDeclarationSpecificStructure { overloads?: FunctionDeclarationOverloadStructure[]; } export interface FunctionDeclarationOverloadStructure extends SignaturedDeclarationStructure, JSDocableNodeStructure, AsyncableNodeStructure, GeneratorableNodeStructure, AmbientableNodeStructure, ExportableNodeStructure { }