mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Naming convention fixed
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/// <reference path="prettyjson.d.ts" />
|
||||
|
||||
var options: prettyjson.IOptions,
|
||||
var options: prettyjson.RendererOptions,
|
||||
input: string,
|
||||
output: string,
|
||||
version: string;
|
||||
|
||||
6
prettyjson/prettyjson.d.ts
vendored
6
prettyjson/prettyjson.d.ts
vendored
@@ -20,7 +20,7 @@ declare module prettyjson {
|
||||
*
|
||||
* @return {string} pretty serialized json data ready to display.
|
||||
*/
|
||||
export function render(data: any, options?: IOptions, indentation?: number): string;
|
||||
export function render(data: any, options?: RendererOptions, indentation?: number): string;
|
||||
|
||||
/**
|
||||
* Render pretty json from a string.
|
||||
@@ -31,9 +31,9 @@ declare module prettyjson {
|
||||
*
|
||||
* @return {string} pretty serialized json data ready to display.
|
||||
*/
|
||||
export function renderString(data: string, options?: IOptions, indentation?: number): string;
|
||||
export function renderString(data: string, options?: RendererOptions, indentation?: number): string;
|
||||
|
||||
export interface IOptions {
|
||||
export interface RendererOptions {
|
||||
|
||||
/**
|
||||
* Define behavior for Array objects
|
||||
|
||||
Reference in New Issue
Block a user