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

Function getLabel

packages/solid-query/src/__tests__/useQuery.test-d.tsx:279–282  ·  view source on GitHub ↗
(
        _dataType: TDataType,
        _data: DataTypeToEntity[TDataType],
      )

Source from the content-addressed store, hash-verified

277 Promise.resolve({} as DataTypeToEntity[TDataType])
278
279 const getLabel = <TDataType extends DataType>(
280 _dataType: TDataType,
281 _data: DataTypeToEntity[TDataType],
282 ) => 'test'
283
284 function Test<TDataType extends DataType>(props: {
285 dataType: TDataType

Callers 1

TestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected