From 4e606f4948a0b65fc9099a583720547da9cefac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20=C5=BDilinskas?= Date: Mon, 10 Jul 2017 13:54:04 +0300 Subject: [PATCH] Added JSDoc. --- types/json2md/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/json2md/index.d.ts b/types/json2md/index.d.ts index 37bdd0d2c8..ce15a5909e 100644 --- a/types/json2md/index.d.ts +++ b/types/json2md/index.d.ts @@ -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;