Skip to content

Commit

Permalink
[js-yaml]: Added new noArrayIndent property that is added on v3.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RyotaMurohoshi committed Jan 17, 2019
1 parent 24b35dd commit 34ae39f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/js-yaml/index.d.ts
Expand Up @@ -52,6 +52,8 @@ export interface LoadOptions {
export interface DumpOptions {
/** indentation width to use (in spaces). */
indent?: number;
/** when true, will not add an indentation level to array elements */
noArrayIndent?: boolean;
/** do not throw on invalid types (like function in the safe schema) and skip pairs and single values with such types. */
skipInvalid?: boolean;
/** specifies level of nesting, when to switch from block to flow style for collections. -1 means block style everwhere */
Expand Down

0 comments on commit 34ae39f

Please sign in to comment.