UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

9 lines (8 loc) 729 B
import { GetAccessorDeclarationStructure, SetAccessorDeclarationStructure, MethodDeclarationStructure } from "./../../class"; import { PropertyAssignmentStructure } from "./PropertyAssignmentStructure"; import { ShorthandPropertyAssignmentStructure } from "./ShorthandPropertyAssignmentStructure"; import { SpreadAssignmentStructure } from "./SpreadAssignmentStructure"; export declare type ObjectLiteralElementLikeStructures = PropertyAssignmentStructure | ShorthandPropertyAssignmentStructure | SpreadAssignmentStructure | MethodDeclarationStructure | GetAccessorDeclarationStructure | SetAccessorDeclarationStructure; export interface ObjectLiteralExpressionStructure { properties: ObjectLiteralElementLikeStructures[]; }