摘要:
export = React; export as namespace React; declare namespace React { // // React Elements // type ElementType<P = any> = { [K in keyof JSX.IntrinsicEl 阅读全文
posted @ 2023-08-21 15:03
Zhentiw
阅读(102)
评论(0)
推荐(0)
摘要:
import { DependencyList, useMemo, useState } from "react"; import { Equal, Expect } from "../helpers/type-utils"; const useCustomState = <TValue>(init 阅读全文
posted @ 2023-08-21 14:45
Zhentiw
阅读(12)
评论(0)
推荐(0)
摘要:
import { useState } from "react"; import { Equal, Expect } from "../helpers/type-utils"; type UseStateReturnValue<T> = { value: T; set: React.Dispatch 阅读全文
posted @ 2023-08-21 14:39
Zhentiw
阅读(28)
评论(0)
推荐(0)

浙公网安备 33010602011771号