UNPKG
@wolf-tp/react-native-boilerplate
Version:
latest (0.0.22)
0.0.22
0.0.21
0.0.20
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
React Native Template
wolf-tp/ReactNativeBoilerplate
@wolf-tp/react-native-boilerplate
/
template
/
src
/
app
/
redux
/
store
/
root-sagas.ts
9 lines
(6 loc)
•
206 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
*
as
saga
from
'@saga'
;
import
{ all }
from
'@typed-redux-saga'
;
const
listSaga =
Object
.
values
(saga).
map
(
saga
=>
saga
());
export
const
rootSaga =
function
*
rootSaga
(
) {
yield
*
all
(listSaga); };