UNPKG

@rightcapital/php-parser

Version:

TypeScript types for PHP Parser JSON representation

11 lines (10 loc) 433 B
import type { NodeAbstract } from '../node'; import type { NodeTypeInheritingFromFullyQualifiedExpr } from "../types"; export interface ArrayItem extends Omit<NodeAbstract, 'nodeType'> { nodeType: 'ArrayItem'; ["key"]: null | NodeTypeInheritingFromFullyQualifiedExpr; ["value"]: NodeTypeInheritingFromFullyQualifiedExpr; ["byRef"]: boolean; ["unpack"]: boolean; } export type FullyQualifiedArrayItem = ArrayItem;