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

Commit3904687

Browse files
committed
Do not import ReducerAction type
1 parent281b2e8 commit3904687

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/index.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ import {
88
Dispatch,
99
Reducer,
1010
ReducerState,
11-
ReducerAction,
1211
}from'react';
1312

13+
typeReducerAction<RextendsReducer<any,any>>=RextendsReducer<any, inferA> ?A :never;
14+
1415
constisClient=(
1516
typeofwindow!=='undefined'
1617
&&!/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp