DocumentOptions: {
    _directives?: Directives;
    logLevel?: LogLevelId;
    version?: "1.1" | "1.2" | "next";
}

Type declaration

  • Optional Internal _directives?: Directives

    Used internally by Composer. If set and includes an explicit version, that overrides the version option.

  • Optional logLevel?: LogLevelId

    Control the logging level during parsing

    Default: 'warn'

  • Optional version?: "1.1" | "1.2" | "next"

    The YAML version used by documents without a %YAML directive.

    Default: "1.2"

Generated using TypeDoc