(react-relay) Add RelayProps interface

This commit is contained in:
Nicolas Pirotte
2018-01-31 22:14:56 +01:00
parent 8c3dcbe39c
commit bfbe49bbdd

View File

@@ -219,3 +219,7 @@ export interface RelayProp<V> {
getPendingTransactions(record: any): RelayMutationTransaction[];
commitUpdate(mutation: Mutation<any, any>, callbacks?: StoreUpdateCallbacks<any>): any;
}
export interface RelayProps<V> {
readonly relay: RelayProp<V>
}