( options: RouterMutationOptions<TFnData, TVariables, TError, TContext> )
| 101 | } |
| 102 | |
| 103 | function mutation< |
| 104 | TFnData = unknown, |
| 105 | TVariables = void, |
| 106 | TError = CompatibleError, |
| 107 | TContext = unknown |
| 108 | >( |
| 109 | options: RouterMutationOptions<TFnData, TVariables, TError, TContext> |
| 110 | ): RouterMutation<TFnData, TVariables, TError, TContext> { |
| 111 | return { ...options, _routerType: 'm' } as RouterMutation< |
| 112 | TFnData, |
| 113 | TVariables, |
| 114 | TError, |
| 115 | TContext |
| 116 | > |
| 117 | } |
| 118 | |
| 119 | router.query = query |
| 120 | router.infiniteQuery = infiniteQuery |
nothing calls this directly
no outgoing calls
no test coverage detected