Skip to content

Commit

Permalink
Updates to TS 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rjz committed Sep 24, 2016
1 parent aea2afb commit af1cf7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"source-map-loader": "0.1.5",
"ts-loader": "^0.8.2",
"tslint": "^3.14.0",
"typescript": "^1.8.10",
"typescript": "2.0.3",
"typings": "1.3.2",
"webpack": "^1.13.1"
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/counter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const mapDispatchToProps = (dispatch: redux.Dispatch<Store.All>): ConnectedDispa

class CounterComponent extends React.Component<ConnectedState & ConnectedDispatch & OwnProps, {}> {

_onClickIncrement = (e: Event) => {
_onClickIncrement = (e: React.SyntheticEvent) => {
e.preventDefault()
this.props.increment(1)
}
Expand Down

0 comments on commit af1cf7e

Please sign in to comment.