MCPcopy Create free account
hub / github.com/TanStack/query / queryFeature

Function queryFeature

packages/angular-query-experimental/src/providers.ts:146–151  ·  view source on GitHub ↗
(
  kind: TFeatureKind,
  providers: Array<Provider>,
)

Source from the content-addressed store, hash-verified

144 * @returns A Query feature.
145 */
146export function queryFeature<TFeatureKind extends QueryFeatureKind>(
147 kind: TFeatureKind,
148 providers: Array<Provider>,
149): QueryFeature<TFeatureKind> {
150 return { ɵkind: kind, ɵproviders: providers }
151}
152
153/**
154 * A type alias that represents a feature which enables developer tools.

Callers 2

withPersistQueryClientFunction · 0.90
withDevtoolsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected