UNPKG

@rightcapital/phpdoc-parser

Version:

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

12 lines (11 loc) 511 B
import type { ConstExprStringNode } from '../const-expr/const-expr-string-node'; import type { IdentifierTypeNode } from './identifier-type-node'; import { TypeNode } from './type-node'; export declare class ObjectShapeItemNode extends TypeNode { keyName: ConstExprStringNode | IdentifierTypeNode; optional: boolean; valueType: TypeNode; constructor(keyName: ConstExprStringNode | IdentifierTypeNode, optional: boolean, valueType: TypeNode); toString(): string; getNodeType(): string; }