hook返回的状态

Type Parameters

  • T extends FN

  • D

  • TD = Awaited<ReturnType<T>>["data"]

Hierarchy

  • State

Properties

Properties

loading: boolean
data: D extends TD ? TD : null | TD
error: any

Generated using TypeDoc