In general, you should prefer discriminated union types over enums, unless you really need to have an int value associated with them, or you are writing types ...
確定! 回上一頁