File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
22
run : echo "::set-output name=dir::$(yarn cache dir)"
23
23
24
24
- name : Cache dependencies
25
- uses : actions/cache@v1
25
+ uses : actions/cache@v4
26
26
with :
27
27
path : ${{ steps.yarn-cache.outputs.dir }}
28
28
key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Original file line number Diff line number Diff line change 20
20
run : echo "::set-output name=dir::$(yarn cache dir)"
21
21
22
22
- name : Cache dependencies
23
- uses : actions/cache@v1
23
+ uses : actions/cache@v4
24
24
with :
25
25
path : ${{ steps.yarn-cache.outputs.dir }}
26
26
key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Original file line number Diff line number Diff line change @@ -8,9 +8,10 @@ import {
8
8
Dispatch ,
9
9
Reducer ,
10
10
ReducerState ,
11
- ReducerAction ,
12
11
} from 'react' ;
13
12
13
+ type ReducerAction < R extends Reducer < any , any > > = R extends Reducer < any , infer A > ? A : never ;
14
+
14
15
const isClient = (
15
16
typeof window !== 'undefined'
16
17
&& ! / S e r v e r S i d e R e n d e r i n g / . test ( window . navigator && window . navigator . userAgent )
You can’t perform that action at this time.
0 commit comments