Files
upstream-tanstack-query/docs/framework/angular/reference/functions/queryFeature.md
upstream-mirror 3a013ccdfe
Some checks failed
autofix.ci / autofix (push) Failing after 4s
Release / Release (push) Has been skipped
GitHub Actions Security Analysis / Run zizmor (push) Failing after 2s
snapshot of https://github.com/TanStack/query.git (main, 2026-09-16; blobs > 131072B omitted)
2026-09-16 01:13:08 +05:00

769 B

id, title
id title
queryFeature queryFeature
function queryFeature<TFeatureKind>(kind, providers): 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.