This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare var __DEV__: boolean; | |
declare module 'react-native' { | |
declare type Color = string | number; | |
declare type Transform = | |
{ perspective: number } | | |
{ scale: number } | | |
{ scaleX: number } | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as IOEffects from 'redux-saga/effects' | |
export function * select (...args) { | |
return yield IOEffects.select(...args) | |
} | |
export function * put (...args) { | |
return yield IOEffects.put(...args) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare type ReduxSaga$Predicate<T> = (arg: T) => boolean; | |
declare interface ReduxSaga$Task { | |
isRunning(): boolean; | |
isCancelled(): boolean; | |
result(): any; | |
result<T>(): T; | |
error(): any; | |
done: Promise<any>; | |
cancel(): void; |