import * as Effects from "typed-redux-saga/macro" ; function * mySaga ( ) { yield * Effects . call ( function * ( ) : Effects . SagaGenerator < number > { yield * Effects . take ( "OK" ) ; return 22 ; } ) ; }