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

Commit344f7c3

Browse files
committed
Fixes build errors (#14)
Fix incompatible method call and restore DOM include (seeDefinitelyTyped/DefinitelyTyped#13251) to get the build back to green.
1 parent2591d06 commit344f7c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/components/counter.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const mapDispatchToProps = (dispatch: redux.Dispatch<Store.All>): ConnectedDispa
3838
increment:(n:number)=>
3939
dispatch(incrementCounter(n)),
4040
load:()=>
41-
dispatch(loadCount(null)),
41+
dispatch(loadCount()),
4242
save:(value:number)=>
4343
dispatch(saveCount({ value})),
4444
})

‎tsconfig.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"outDir":"./dist/",
44
"sourceMap":true,
55
"noImplicitAny":true,
6-
"lib": ["es6"],
6+
"lib": ["es6","dom"],
77
"module":"commonjs",
88
"target":"es6",
99
"jsx":"react"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp