mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-10 17:16:06 +08:00
Added JSDoc.
This commit is contained in:
7
types/json2md/index.d.ts
vendored
7
types/json2md/index.d.ts
vendored
@@ -6,6 +6,13 @@
|
||||
|
||||
export = json2md;
|
||||
|
||||
/**
|
||||
* Converts a JSON input to markdown.
|
||||
*
|
||||
* @param data The input JSON data.
|
||||
* @param prefix A snippet to add before each line.
|
||||
* @return The generated markdown result.
|
||||
*/
|
||||
declare function json2md(data: json2md.DataObject | json2md.DataObject[] | string | string[], prefix?: string): string;
|
||||
type json2md = typeof json2md;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user