From c240fc8a4339c8ff5337039cd81e0fa575c8f58d Mon Sep 17 00:00:00 2001 From: Aluan Haddad Date: Tue, 6 Feb 2018 15:48:18 -0500 Subject: [PATCH] match DefinitelyTyped JSDoc asterisk style --- types/comment-json/index.d.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/types/comment-json/index.d.ts b/types/comment-json/index.d.ts index e03f15051c..fcb7608e2a 100644 --- a/types/comment-json/index.d.ts +++ b/types/comment-json/index.d.ts @@ -6,17 +6,17 @@ export type Reviver = (k: number | string, v: any) => any; /** - * Converts a JavaScript Object Notation (JSON) string into an object. - * @param json A valid JSON string. - * @param reviver A function that transforms the results. This function is called for each member of the object. - * If a member contains nested objects, the nested objects are transformed before the parent object is. - */ + * Converts a JavaScript Object Notation (JSON) string into an object. + * @param json A valid JSON string. + * @param reviver A function that transforms the results. This function is called for each member of the object. + * If a member contains nested objects, the nested objects are transformed before the parent object is. + */ export function parse(json: string, reviver?: Reviver, removes_comments?: boolean): any; /** - * Converts a JavaScript value to a JavaScript Object Notation (JSON) string. - * @param value A JavaScript value, usually an object or array, to be converted. - * @param replacer A function that transforms the results or an array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified. - * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read. - */ + * Converts a JavaScript value to a JavaScript Object Notation (JSON) string. + * @param value A JavaScript value, usually an object or array, to be converted. + * @param replacer A function that transforms the results or an array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified. + * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read. + */ export function stringify(value: any, replacer?: ((key: string, value: any) => any) | Array | null, space?: string | number): string;