0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-18 19:33:22 +00:00
query/docs/framework/angular/reference/functions/queryFeature.md
Wonsuk Choi d169ee8778
docs(*): add property tables and overload overviews to reference pages and keep declared alias names (#11758)
* 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
2026-10-06 02:38:27 +09:00

1.2 KiB

id title
queryFeature queryFeature
function queryFeature<TFeatureKind>(kind: TFeatureKind, providers: Provider[]): QueryFeature<TFeatureKind>;

Defined in: packages/angular-query-experimental/src/providers.ts:143

Helper function to create an object that represents a Query feature.

Type Parameters

TFeatureKind

TFeatureKind extends "Devtools" | "PersistQueryClient"

Parameters

kind

TFeatureKind

The kind of feature, e.g. 'Devtools'.

providers

Provider[]

The Angular providers this feature contributes to provideTanStackQuery.

Returns

QueryFeature<TFeatureKind>

A Query feature.

Result properties

Property Type Description
ɵkind TFeatureKind The kind of the feature, e.g. 'Devtools' or 'PersistQueryClient'.
ɵproviders Provider[] The providers that provideTanStackQuery registers for the feature.