Update index.d.ts

This commit is contained in:
Michael Zlatkovsky
2017-04-05 18:52:05 -07:00
committed by GitHub
parent e2f264c1b3
commit 20a5a03781
+1 -1
View File
@@ -43,7 +43,7 @@ declare namespace jsyaml {
// 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;
sortKeys?: boolean | ((a: any, b: any) => number);
// set max line width. (default: 80)
lineWidth?: number;
// if true, don't convert duplicate objects into references (default: false)