@rightcapital/phpdoc-parser
Version:
TypeScript version of PHPDoc parser with support for intersection types and generics
15 lines (14 loc) • 494 B
TypeScript
import type { ArrayShapeItemNode } from './array-shape-item-node';
import { TypeNode } from './type-node';
export declare enum ArrayShapeNodeKind {
ARRAY = "array",
LIST = "list"
}
export declare class ArrayShapeNode extends TypeNode {
items: (ArrayShapeItemNode | string)[];
sealed: boolean;
kind: ArrayShapeNodeKind;
constructor(items: (ArrayShapeItemNode | string)[], sealed?: boolean, kind?: ArrayShapeNodeKind);
toString(): string;
getNodeType(): string;
}