摘要:
import { Equal, Expect } from "../helpers/type-utils"; type Route = | { route: "/"; search: { page: string; perPage: string; }; } | { route: "/about" 阅读全文
posted @ 2022-12-14 16:07
Zhentiw
阅读(27)
评论(0)
推荐(0)
摘要:
import { Equal, Expect } from "../helpers/type-utils"; interface Attributes { id: string; email: string; username: string; } /** * How do we create a 阅读全文
posted @ 2022-12-14 15:33
Zhentiw
阅读(22)
评论(0)
推荐(0)
摘要:
Let's say we want to extract query param from string: type UserPath = "/users/:id"; type UserOrganisationPath = "/users/:id/organisations/:organisatio 阅读全文
posted @ 2022-12-14 15:24
Zhentiw
阅读(30)
评论(0)
推荐(0)

浙公网安备 33010602011771号