UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

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