摘要:
Discriminated (Tagged) Unions means that for two or more similar types, we have one common prop which can differentiate individual. interface Order { 阅读全文
posted @ 2020-10-06 15:27
Zhentiw
阅读(279)
评论(0)
推荐(0)
摘要:
interface Order { id: string; amount: number; currency: string; } interface Stripe { card: string; cvc: string; } interface PayPal { email: string; } 阅读全文
posted @ 2020-10-06 15:18
Zhentiw
阅读(79)
评论(0)
推荐(0)

浙公网安备 33010602011771号