Skip to content

Commit

Permalink
Remove default type parameter (any) from SelectorStoreUpdater
Browse files Browse the repository at this point in the history
Reviewed By: alunyov

Differential Revision: D30854427

fbshipit-source-id: 441e56a0eadeae496daa0a44c60ea549999e762b
  • Loading branch information
rbalicki2 authored and facebook-github-bot committed Oct 26, 2021
1 parent 1b8b188 commit df04f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/relay-runtime/store/RelayStoreTypes.js
Expand Up @@ -974,7 +974,7 @@ export type StoreUpdater = (store: RecordSourceProxy) => void;
* order to easily access the root fields of a query/mutation as well as a
* second argument of the response object of the mutation.
*/
export type SelectorStoreUpdater<-TMutationResponse = any> = (
export type SelectorStoreUpdater<-TMutationResponse> = (
store: RecordSourceSelectorProxy,
// Actually SelectorData, but mixed is inconvenient to access deeply in
// product code.
Expand Down

0 comments on commit df04f8d

Please sign in to comment.