In the previous implementation, a map conversion was done to ensure that the defaultActiveKey was string array, resulting in a dead loop where each passed in dependency was a new array.
This now seems unnecessary as thekey is restricted to string and no one would pass a number specifically via an expression, and sunmao itself has a type check hint.
So on balance, it was decided to remove this conversion
In the previous implementation, a map conversion was done to ensure that the
defaultActiveKey
was string array, resulting in a dead loop where each passed in dependency was a new array. This now seems unnecessary as thekey
is restricted to string and no one would pass a number specifically via an expression, and sunmao itself has a type check hint. So on balance, it was decided to remove this conversion