Fix #2263 - detailed Flow errors should show the original message

This commit is contained in:
w0rp
2019-02-01 13:01:51 +00:00
parent 067601e9db
commit 4d426bf287
2 changed files with 4 additions and 2 deletions

View File

@@ -499,7 +499,8 @@ Execute(The flow handler should handle extra errors):
\ 'col': 35,
\ 'type': 'E',
\ 'text': 'props of React element `New`: This type is incompatible with object type',
\ 'detail': 'Property `setVector` is incompatible: number This type is incompatible with function type ',
\ 'detail': 'props of React element `New`: This type is incompatible with object type'
\ . "\nProperty `setVector` is incompatible: number This type is incompatible with function type ",
\ }
\]