add missing DumpOptions (#13072)

This commit is contained in:
Fred K. Schott 2016-12-20 06:25:25 -08:00 committed by Masahiro Wakame
parent de75e6420b
commit f32c1c1fb2

8
js-yaml/index.d.ts vendored
View File

@ -42,6 +42,14 @@ declare namespace jsyaml {
styles?: Object;
// specifies a schema to use.
schema?: any;
// if true, sort keys when dumping YAML. If a function, use the function to sort the keys. (default: false)
sortKeys?: boolean;
// set max line width. (default: 80)
lineWidth?: number;
// if true, don't convert duplicate objects into references (default: false)
noRefs?: boolean;
// if true don't try to be compatible with older yaml versions. Currently: don't quote "yes", "no" and so on, as required for YAML 1.1 (default: false)
noCompatMode?: boolean;
}
export interface TypeConstructorOptions {