There's a strange type issue in Text's style property due to how its getter and setter work: However, TS allows neither getter and setter declarations nor getters and setters with disagreeing types.
It’s a 25-year-old principle of object-oriented (OO) design that you shouldn’t expose an object’s implementation to any other classes in the program. The program is unnecessarily difficult to maintain ...