-
-
Notifications
You must be signed in to change notification settings - Fork 835
The compiler does not support import { foo as bar } from '...' #2335
Copy link
Copy link
Closed
ionic-team/ionic-framework
#29666Labels
Bug: ValidatedThis PR or Issue is verified to be a bug within StencilThis PR or Issue is verified to be a bug within Stencil
Description
Stencil version:
@stencil/core@1.12.2
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";Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bug: ValidatedThis PR or Issue is verified to be a bug within StencilThis PR or Issue is verified to be a bug within Stencil