diff --git a/types/prettyjson/index.d.ts b/types/prettyjson/index.d.ts index 71df6ea359..705bc6257f 100644 --- a/types/prettyjson/index.d.ts +++ b/types/prettyjson/index.d.ts @@ -3,9 +3,6 @@ // Definitions by: Wael BEN ZID EL GUEBSI // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - - /** * Defines prettyjson version */ @@ -19,7 +16,7 @@ export declare var version: string; * @param indentation {number} Indentation size. * * @return {string} pretty serialized json data ready to display. - */ + */ export declare function render(data: any, options?: RendererOptions, indentation?: number): string; /** @@ -30,16 +27,16 @@ export declare function render(data: any, options?: RendererOptions, indentation * @param indentation {number} Indentation size. * * @return {string} pretty serialized json data ready to display. - */ + */ export declare function renderString(data: string, options?: RendererOptions, indentation?: number): string; export interface RendererOptions { - /** * Define behavior for Array objects */ emptyArrayMsg?: string; // default: (empty) inlineArrays?: boolean; + noAlign?: boolean; /** * Color definition