Documentation / @facturometro/core / ModelPath
Type Alias: ModelPath ​
ModelPath = readonly (
number|string)[]
Defined in: packages/core/src/issue.ts:34
Where a diagnostic points inside the document model: property names and array indexes.
Example ​
ts
import type { ModelPath } from '@facturometro/core';
const path: ModelPath = ['invoiceLine', 2, 'price', 'priceAmount'];