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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy