bug: single-export-module
is missing types for defineCustomElement
functions
#4093
Closed
3 tasks done
Labels
Bug: Validated
This PR or Issue is verified to be a bug within Stencil
Prerequisites
Stencil Version
3.0.1
Current Behavior
When using the
dist-custom-element
output target withcustomElementsExportBehavior: 'single-export-module'
we are experiencing missing type declarations for thedefineCustomElement...
functions of our components.Expected Behavior
When publishing as a component library, I'd expect that consumers can access the type for the
defineCustomElement...
function the same way they can access the component's type.System Info
No response
Steps to Reproduce
I've created a stackblitz reproduction example here: https://stackblitz.com/edit/node-mhjzxw?file=stencil.config.ts,dist%2Fcomponents%2Findex.js,dist%2Fcomponents%2Findex.d.ts
Code Reproduction URL
https://stackblitz.com/edit/node-mhjzxw?file=stencil.config.ts,dist%2Fcomponents%2Findex.js,dist%2Fcomponents%2Findex.d.ts
Additional Information
No response
The text was updated successfully, but these errors were encountered: