From a5f6fa793f206da5521580987d219493014810a1 Mon Sep 17 00:00:00 2001 From: WAEL BEN ZID Date: Tue, 22 Dec 2015 12:17:58 +0100 Subject: [PATCH] module declaration fixed --- prettyjson/prettyjson.d.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/prettyjson/prettyjson.d.ts b/prettyjson/prettyjson.d.ts index f1f0dbf23..b2a6399ac 100644 --- a/prettyjson/prettyjson.d.ts +++ b/prettyjson/prettyjson.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module PrettyJSON { +declare module prettyjson { /** * Defines prettyjson version @@ -14,13 +14,13 @@ declare module PrettyJSON { /** * Render pretty json. * - * @param data {Object} Data to prettify. + * @param data {any} Data to prettify. * @param options {IOptions} Hash with different options to configure the renderer. * @param indentation {number} Indentation size. * * @return {string} pretty serialized json data ready to display. */ - export function render(data: Object, options?: IOptions, indentation?: number): string; + export function render(data: any, options?: IOptions, indentation?: number): string; /** * Render pretty json from a string. @@ -53,7 +53,3 @@ declare module PrettyJSON { defaultIndentation ?: number; } } - -declare module "prettyjson" { - export = PrettyJSON; -}