mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-30 01:47:21 +08:00
(react-relay) Add RelayProps interface
This commit is contained in:
4
types/react-relay/classic.d.ts
vendored
4
types/react-relay/classic.d.ts
vendored
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user