Error when generating the declaration files using vue-tsc "TS4060: Return type of exported function has or is using private name 'ctx'." #2581
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
Information
Issue
I want to generate declaration files for a vue library using vue-tsc with this command:
vue-tsc --declaration --emitDeclarationOnly
it shows these errorsIt was fine when I use version 1.3.2 of the vue-tsc
Replication Steps
You can replicate this issue using this vue-tsc-component-library-example repository. Just update the vue-tsc version to 1.3.11 and try to run the build script using
npm run build
. It will show the errorsNotes
I still don't know the root cause of this issue, but what is working for me is to downgrade the vue-tsc version to 1.3.2
The text was updated successfully, but these errors were encountered: