Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaf1cf7e

Browse files
committed
Updates to TS 2.0
1 parentaea2afb commitaf1cf7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"source-map-loader":"0.1.5",
3636
"ts-loader":"^0.8.2",
3737
"tslint":"^3.14.0",
38-
"typescript":"^1.8.10",
38+
"typescript":"2.0.3",
3939
"typings":"1.3.2",
4040
"webpack":"^1.13.1"
4141
}

‎src/components/counter.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const mapDispatchToProps = (dispatch: redux.Dispatch<Store.All>): ConnectedDispa
2929

3030
classCounterComponentextendsReact.Component<ConnectedState&ConnectedDispatch&OwnProps,{}>{
3131

32-
_onClickIncrement=(e:Event)=>{
32+
_onClickIncrement=(e:React.SyntheticEvent)=>{
3333
e.preventDefault()
3434
this.props.increment(1)
3535
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp