You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[PageContent] eui.d.ts imports from 'enzyme' #6642
Hey folks! Not sure how/why but enzyme has made it into eui.d.ts (it's only listed in your devDependencies so it's causing me a few issues). This is the only place enzyme is imported so I'm guessing HTMLAttributes should've been imported from react? Cheers
Activity
cee-chen commentedon Mar 14, 2023
Awesome catch, thank you so much @j-m! I'll look into this and push a fix with a release today.
cee-chen commentedon Mar 14, 2023
Looks like this is the culprit:
eui/src/components/page/page_content/page_content.tsx
Line 14 in 1b2a1f6
23 months ago, oof. We seriously appreciate your eagle eye on this!
EDIT: whoops, just saw you already found the problem file in your issue and screenshot 🙈 Sorry, operating on too little sleep today!
j-m commentedon Mar 16, 2023
I had only recently upgraded from v36 😅
TSC can catch this problem for you via
skipLibCheck: false