次の方法で共有


SettingUnion type

type SettingUnion = Setting | DataExportSettings | AlertSyncSettings