UNPKG

@rightcapital/phpdoc-parser

Version:

TypeScript version of PHPDoc parser with support for intersection types and generics

12 lines (11 loc) 516 B
import type { CallableTypeParameterNode } from './callable-type-parameter-node'; import type { IdentifierTypeNode } from './identifier-type-node'; import { TypeNode } from './type-node'; export declare class CallableTypeNode extends TypeNode { identifier: IdentifierTypeNode; parameters: CallableTypeParameterNode[]; returnType: TypeNode; constructor(identifier: IdentifierTypeNode, parameters: CallableTypeParameterNode[], returnType: TypeNode); toString(): string; getNodeType(): string; }