`UseMutationReturnType` uses `MutationResult` as the default for its
`TResult` parameter, but the alias was not exported. Projects that emit
declarations could not name the inferred return type of a `useMutation`
wrapper and failed with TS2883. Export it from the package root.
Fixes#11769
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ciarán Curley <ciaran.curley.11.11@gmail.com>
* chore(solid-query*): add 'eslint-plugin-solid'
* chore(solid-query*): explain why 'solid/reactivity' is off and keep it on in 'solid-query-persist-client'
* docs(*): add parameter and result property tables to reference function pages and an overview to overloaded ones
* docs(*): link to the base type's properties when a parameter or result type has no property table
* docs(framework/*/reference): regenerate reference docs
* docs(framework/*/reference): regenerate reference docs
* chore(scripts/generate-docs): restore the 'dirname' import that the merge dropped
* docs(framework/*/reference): regenerate reference docs
* docs(scripts/generate-docs): label overloads in the overview with their declared parameter and return types
* docs(framework/*/reference): regenerate reference docs
* docs(scripts/generate-docs): convert declared intersection types from the source so signatures keep their alias names
* docs(framework/*/reference): regenerate reference docs
* docs(scripts/generate-docs): reword a comment to avoid the unknown word 'inlines'
* docs(scripts/generate-docs): skip a parameter table on overloaded pages when its heading is missing
* refactor(lit-query): add the 'override' modifier to the implementations of the abstract controller hooks
* docs(lit-query/BaseController): note that 'onQueryClientChanged' also runs when no client is found
* docs(lit-query/BaseController): note that 'onConnected' may run without a client
* chore(eslint.config): require JSDoc on the methods of exported classes
* chore(eslint.config): also require JSDoc on the methods of default-exported classes
* docs(query-core/types): add JSDoc to the properties of the exported interfaces and type aliases
* docs(query-core/types): mention mutations in the 'hydrate' default options description
* docs(vue-query): add JSDoc to the properties of the exported interfaces and type aliases
* docs(vue-query/types): mention mutations in the 'hydrate' default options description
* chore(eslint.config): require JSDoc on exported classes and arrow functions
* chore(eslint.config): also require JSDoc on default-exported classes and arrow functions
* docs(svelte-query): add JSDoc to the exported classes, methods, and arrow functions
* docs(svelte-query/utils): describe that 'watchChanges' runs on every change of the state its sources read
* docs(solid-query): add JSDoc to the exported classes, methods, and arrow functions
* docs(solid-query-persist-client/PersistQueryClientProvider): describe what is deferred while restoring and when the callbacks run
* docs(preact-query): add JSDoc to the exported classes, methods, and arrow functions
* docs(preact-query-persist-client/PersistQueryClientProvider): describe what is deferred while restoring and when the callbacks run
* docs(react-query): add JSDoc to the exported classes, methods, and arrow functions
* docs(react-query-persist-client/PersistQueryClientProvider): describe what is deferred while restoring and when the callbacks run
* docs(*): note that 'throwOnError' makes the hook rethrow the errors of 'mutate'
* docs(angular-query-experimental/types): mention that 'injectMutation' emits the error on 'ngZone.onError' before rethrowing it
* docs(eslint-plugin-query): add JSDoc to the exported interfaces and type aliases
* docs(eslint-plugin-query): name the exact config keys in the 'Plugin' description
* docs(query-devtools): add JSDoc to the exported interfaces and type aliases
* docs(query-devtools/contexts/types): note that 'onClose' is only used by the panel