摘要:
// Before declare function useState<T>(status: T[]): T; const loadingStatus = useState(["loading", "idle"]) // string type // after declare function u 阅读全文
posted @ 2024-01-22 02:57
Zhentiw
阅读(41)
评论(0)
推荐(0)
摘要:
const routes = { user: ["get-user", "get-all-users"], comment: ["get-comment", "get-all-comments"] } as const type Routes = typeof routes type Possibl 阅读全文
posted @ 2024-01-22 02:52
Zhentiw
阅读(31)
评论(0)
推荐(0)

浙公网安备 33010602011771号