The compiler does not support import { foo as bar } from '...'
Stencil version:
@stencil/[email protected]
I'm submitting a:
[x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
Expected behavior:
Steps to reproduce:
When you rename an import using the as operator, the output in components.d.ts is invalid:
Related code:
import { IconDefinition as FaIconDefinition } from '@fortawesome/fontawesome-svg-core';
Output (components.d.ts):
import { FaIconDefinition, } from "@fortawesome/fontawesome-svg-core";
Duplicate of #2074, which did not had any answer from Stencil team for a long moment
I'm going to mark this to be ingested into our backlog. It's a little different from #2074, and will require a separate fix
This was included in today's v4.19.0 release!