interface ObjectProperty {
    computed: boolean;
    decorators?: null | Decorator[];
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    key: PrivateName | Expression;
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    range?: [number, number];
    shorthand: boolean;
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "ObjectProperty";
    value: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | BinaryExpression | BindExpression | BooleanLiteral | CallExpression | ClassExpression | ConditionalExpression | DecimalLiteral | DoExpression | FunctionExpression | Identifier | Import | ImportExpression | JSXElement | JSXFragment | LogicalExpression | MemberExpression | MetaProperty | ModuleExpression | NewExpression | NullLiteral | NumericLiteral | ObjectExpression | ObjectPattern | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | RecordExpression | RegExpLiteral | RestElement | SequenceExpression | StringLiteral | Super | TSAsExpression | TSInstantiationExpression | TSNonNullExpression | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThisExpression | TopicReference | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | YieldExpression;
}

Hierarchy (view full)

Properties

computed: boolean
decorators?: null | Decorator[]
end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
range?: [number, number]
shorthand: boolean
start?: null | number
trailingComments?: null | Comment[]
type: "ObjectProperty"