Closed SantoJambit closed 4 years ago
Moved from Piral.
piral 0.10.9
When you default export a function, then export this in a named fashion in your exports.ts file, it becomes a const with type any.
Should export the function type
Exports a const with type any.
See the MWE: https://github.com/SantoJambit/shell-mwe/commit/b534b409730ba00bded5b6ee504f97b8910a2eb9
A failing (isolated) test would be appreciated. Thanks!
Created a PR with a failing test
Bug Report
Moved from Piral.
Prerequisites
Environment Details and Version
piral 0.10.9
Description
When you default export a function, then export this in a named fashion in your exports.ts file, it becomes a const with type any.
Steps to Reproduce
Expected behavior
Should export the function type
Actual behavior
Exports a const with type any.
Possible Origin / Solution
See the MWE: https://github.com/SantoJambit/shell-mwe/commit/b534b409730ba00bded5b6ee504f97b8910a2eb9