Type alias WriteStyleResult<T>

WriteStyleResult<T>: {
    errors?: Error[];
    output?: T;
    unsupportedProperties?: UnsupportedProperties;
    warnings?: string[];
}

The Result of the writeStyle function of a StyleParser.

Type Parameters

  • T = any

Type declaration

  • Optional errors?: Error[]

    A list of errors occured while writing the style.

  • Optional output?: T

    The target-style as written by the parser.

  • Optional unsupportedProperties?: UnsupportedProperties

    A list of unsupportedProperties used while writing the style.

  • Optional warnings?: string[]

    A list of warnings occured while writing the style.