Fix some TypeScript warnings in StyleEditor

Commit updated.