Skip to content

Commit

Permalink
Update defs (#209)
Browse files Browse the repository at this point in the history
**Summary:**

Correct two typos in `scripts/defs/jsdoceshift.yaml` and in the
generated `website/src/defs/jscodeshift.json`.
  • Loading branch information
clentfort authored and fkling committed Apr 6, 2017
1 parent 73ba2fa commit cfe6063
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/defs/jscodeshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@
'!type': 'fn() -> NodePath'
insertAt:
'!type': 'fn(index: number, node: ASTNode)'
inserBefore:
insertBefore:
'!type': 'fn(node: ASTNode)'
inserAfter:
insertAfter:
'!type': 'fn(node: ASTNode)'
ASTNode:
type:
Expand Down
6 changes: 3 additions & 3 deletions website/src/defs/jscodeshift.json
Original file line number Diff line number Diff line change
Expand Up @@ -939,10 +939,10 @@
"insertAt": {
"!type": "fn(index: number, node: ASTNode)"
},
"inserBefore": {
"insertBefore": {
"!type": "fn(node: ASTNode)"
},
"inserAfter": {
"insertAfter": {
"!type": "fn(node: ASTNode)"
}
}
Expand Down Expand Up @@ -1496,4 +1496,4 @@
"check": "fn(node: Node, deep: ?) -> bool"
}
}
}
}

0 comments on commit cfe6063

Please sign in to comment.