If a breaking change is acceptable, an alternative is to make the type sealed.
如果重大更改是可以接受的,则一个可选的替代方法是使该类型成为密封类型。
youdao
应用推荐
模块上移
模块下移
不移动