Skip to content

Documentation / @sw-file-lib/xml / xml-schema / SchemaParseFieldAttributeResult

Type Alias: SchemaParseFieldAttributeResult<T> ​

ts
type SchemaParseFieldAttributeResult<T> = Result<{
  value: T;
  source: "attribute";
}, SchemaError>;

Defined in: packages/xml/src/xml-schema/types.ts:100

The result of parsing one attribute-backed field.

Type Parameters ​

Type Parameter
T