Upgrade emotion to v11 #2368
-
Hello! I am currently building a flex ui 2.0 plugin and experiencing some typescript errors. I think this could be due to flex ui using emotion v11 but styling-library only using v10. e.g.
results in
Thomas |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @thomaschaaf, We're currently planning work to upgrade Emotion but don't have a concrete timeline for when it will land as the upgrade will need to be rolled out carefully. Seeing as your error is around typings, I wonder if setting your project's
If you add that to your package.json, reinstall deps (npm i or yarn), and rebuild does it work? |
Beta Was this translation helpful? Give feedback.
-
Hello @thomaschaaf 👋 Our major update that included an update to Emotion v11 was just released at the end of last week. Could you please update your dependencies and let us know if you still see type errors? |
Beta Was this translation helpful? Give feedback.
Hello @thomaschaaf 👋 Our major update that included an update to Emotion v11 was just released at the end of last week. Could you please update your dependencies and let us know if you still see type errors?