跳转到内容

IoLynxSuspenseInfiniteQueryResult

当你需要复用类型结构时使用此类型别名。

IoLynxSuspenseInfiniteQueryResult<TData, TError, TPageParam, TSelected>
import type { IoLynxSuspenseInfiniteQueryResult } from '@iostore/lynx';
let value!: IoLynxSuspenseInfiniteQueryResult;
console.log(value);
  • 避免在用户文档中展开过于复杂的类型细节。
  • 调整类型别名时注意下游兼容性。
  • packages/io-lynx/src/lib/use-infinite-query.ts