如果是string enum 的话,我觉得Literal string union type 是更好的选择,但如果是number enum 的话, 用Literal union 就像用一堆magic number, 不知道是什么意思, ...
確定! 回上一頁