次の方法で共有


UsageDetailUnion type

type UsageDetailUnion = UsageDetail | LegacyUsageDetail | ModernUsageDetail