From 86e192a06b702227aa4a355ef20e53ba120f63b4 Mon Sep 17 00:00:00 2001 From: atanasster Date: Thu, 29 Apr 2021 01:08:17 -0400 Subject: [PATCH] fix: redundand map check --- misc/ts-markdown/src/tsdoc/extract-tsdoc.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/ts-markdown/src/tsdoc/extract-tsdoc.ts b/misc/ts-markdown/src/tsdoc/extract-tsdoc.ts index 93b6cfbf8..08dd19063 100644 --- a/misc/ts-markdown/src/tsdoc/extract-tsdoc.ts +++ b/misc/ts-markdown/src/tsdoc/extract-tsdoc.ts @@ -46,7 +46,6 @@ export const extractTSDoc = ( ): { propsTable: Node[]; table?: NodeChildren } => { const props: PropItem[] = nodes && - nodes.map && nodes.reduce((acc: any, child: any) => { if (child.declaration) { if (!child.declaration.children) {