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

Commita1fc886

Browse files
aryaemami59markerikson
authored andcommitted
Fix type ofinnerMapStateToProps inProvider.spec.tsx
1 parenteaa8271 commita1fc886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/components/Provider.spec.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ describe('React', () => {
165165
action.type==='INC' ?state+1 :state
166166

167167
constinnerStore=createStore(reducer)
168-
constinnerMapStateToProps=vi.fn<[number],TStateProps>((state)=>({
168+
constinnerMapStateToProps=vi.fn((state:number)=>({
169169
count:state,
170170
}))
171171
classInnerextendsComponent<TStateProps>{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp