Closed SantoJambit closed 4 years ago
A failing (isolated) test would be appreciated. Thanks!
Keep in mind that it should export a const
/ class
whatever instance as this is the nature of default
. The type of this instance is the interesting part. If its any
but should not be then indeed this is an issue, otherwise it works as it should.
It seems you already created an isolated test. I'm assuming your comment was about the other issue.
Yes, this is currently still open. Need to find how constructors can be reliably resolved.
Bug Report
Moved from Piral:
Prerequisites
Environment Details and Version
piral 0.10.9
Description
When trying to export a class, you get an interface
Steps to Reproduce
Expected behavior
a class export declaration
Actual behavior
an interface export declaration
Possible Origin / Solution
See the MWE: https://github.com/SantoJambit/shell-mwe/commit/f4def2358c36b45e052b6aec1de3ec8f772587ed