Skip to content

Commit ad2deb9

Browse files
author
Javier Morant
authored
Merge pull request #14 from fjmorant/errorMessageImprovement
Error message improvement
2 parents e276515 + 6fe5335 commit ad2deb9

File tree

10 files changed

+903
-762
lines changed

10 files changed

+903
-762
lines changed

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
flow-typed
1+
flow-typed
2+
examples

.flowconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
.*/node_modules/*
1212

13+
.*/examples/*
14+
1315
; Ignore duplicate module providers
1416
; For RN Apps installed via npm, "Libraries" folder is inside
1517
; "node_modules/react-native" but in the source repo it is in the root

NodeView.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ export default class NodeView extends React.PureComponent<Props, State> {
5959
)
6060
}
6161

62-
renderItem = ({item}) => this.renderChildren(item, this.props.level)
62+
renderItem = ({item}: {item: Node}) =>
63+
this.renderChildren(item, this.props.level)
6364

6465
render() {
6566
const rootChildrenName = this.props.getChildrenName(this.state.node)

0 commit comments

Comments
 (0)