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

Class AngularCompatibilityComponent

scripts/angular-types/consumer.ts:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 `,
40})
41export class AngularCompatibilityComponent {
42 readonly query = injectQuery(() => ({
43 queryKey: ['angular-compatibility'],
44 queryFn: () => Promise.resolve({ title: 'Angular Query' }),
45 }))
46
47 readonly mutation = injectMutation(() => ({
48 mutationFn: (title: string) => Promise.resolve({ title }),
49 }))
50}

Callers

nothing calls this directly

Calls 2

injectQueryFunction · 0.90
injectMutationFunction · 0.90

Tested by

no test coverage detected