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

Function getLabel

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

Source from the content-addressed store, hash-verified

306 Promise.resolve({} as DataTypeToEntity[TDataType])
307
308 const getLabel = <TDataType extends DataType>(
309 _dataType: TDataType,
310 _data: DataTypeToEntity[TDataType],
311 ) => 'test'
312
313 function Test<TDataType extends DataType>(props: {
314 dataType: TDataType

Callers 1

TestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected