Skip to content

createBlockJsonAttribute

createBlockJsonAttribute(node, warnings): BlockJsonAttribute

Defined in: metadata-projection.ts:19

Project one parsed attribute node into its block.json attribute shape.

AttributeNode

Parsed attribute node to project.

string[]

Mutable warning list that receives unsupported projection features.

BlockJsonAttribute

A block.json-compatible attribute record for the provided node.