Skip to content

Commit 5e7365a

Browse files
committed
Override flow error message.
1 parent 5850ed8 commit 5e7365a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/infer/params.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ function paramToDoc(
198198
}
199199
case 'ObjectProperty': {
200200
return Object.assign(
201-
paramToDoc(
201+
((paramToDoc(
202202
param.value,
203203
prefix + '.' + param.key.name || param.key.value
204-
),
204+
): any): CommentTag),
205205
{
206206
name: prefix + '.' + param.key.name || param.key.value
207207
}

0 commit comments

Comments
 (0)