Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eui.d.ts declares non-eui modules #1388

Closed
chandlerprall opened this issue Dec 19, 2018 · 1 comment · Fixed by #1395
Closed

eui.d.ts declares non-eui modules #1388

chandlerprall opened this issue Dec 19, 2018 · 1 comment · Fixed by #1395

Comments

@chandlerprall
Copy link
Contributor

chandlerprall commented Dec 19, 2018

The definitions in EUI for *.png and *.svg are making their way into eui.d.ts - we should only export @elastic/eui/* modules defs.

@pugnascotia
Copy link
Contributor

I'll take a crack at this since it's preventing Cloud from upgrading.

pugnascotia added a commit to pugnascotia/eui that referenced this issue Dec 21, 2018
pugnascotia added a commit that referenced this issue Dec 21, 2018
Closes #1388. The `src/custom_typings` directory contains some TS definitions that allows TS files to import images without complaint. However, these definitions were being included in `eui.d.ts`, which meant downstream projects couldn't include their own mechanisms for importing images. The fix is to exclude `custom_typings` from `eui.d.ts`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants