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;