
I don't understand why visibleEdgeColor needs to use the number type. Using the color type should be the right one.

Using the color type can achieve the expected effect, such as red, blue, and white, but a number does not know how to fill in the color. So I think it's a small bug. But if it's not a bug, please tell me the reason for using number here.
I use TypeScript and like to wrestle with the compiler.
I don't understand why visibleEdgeColor needs to use the number type. Using the color type should be the right one.
Using the color type can achieve the expected effect, such as red, blue, and white, but a number does not know how to fill in the color. So I think it's a small bug. But if it's not a bug, please tell me the reason for using number here.
I use TypeScript and like to wrestle with the compiler.