次の方法で共有


RoleUnion type

type RoleUnion = Role | IoTRole