Closed Sruimeng closed 2 weeks ago
The recent change in the TextItem
class within text-item.ts
explicitly converts the options.text
and value
properties to strings using the toString()
method. This ensures that these properties are always stored in string format, adding robustness to the class.
File | Change Summary |
---|---|
packages/effects-core/src/plugins/text/.../text-item.ts |
Updated the TextItem class to convert options.text and value to strings using toString() method. |
In the code, a shift so slight,
Text to string, now just right,
A whisper here, a gentle nudge,
toString()
calls, firm as a judge.
Code refines, like morning light,
Ensuring all, in string's clear sight.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit