You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing a library of Vue components. To export type declarations during the build, we use the command vue-tsc --declaration --emitDeclarationOnly.
Everything worked well on vue-tsc@0.33.9. After upgrading to 0.34.1, no types are exported anymore, and there are no errors or warnings in the terminal. I observe the same behavior on the latest version of the library at the moment (0.39.4). I was unable to check the build for version 0.34.0, due to the previously fixed bug.
How to reproduce the issue:
Checkout the demo repository git clone git@github.com:Alexis2004/vue-tsc-dts-issue.git.
Execute command yarn install && yarn run dts in the project root.
Make sure that the dist/ folder with .d.ts files is not created.
Downgrade the vue-tsc library in the package.json file to version 0.33.9.
Rerun command yarn install && yarn run dts.
Make sure that the dist/ folder with .d.ts files appears in the project root.
The text was updated successfully, but these errors were encountered:
Thank you very much! The proposed workaround with removing noEmitOnError helped me – now .d.ts files are generated successfully (I've tried to build using the latest vue-tsc version).
I am developing a library of Vue components. To export type declarations during the build, we use the command
vue-tsc --declaration --emitDeclarationOnly
.Everything worked well on
vue-tsc@0.33.9
. After upgrading to0.34.1
, no types are exported anymore, and there are no errors or warnings in the terminal. I observe the same behavior on the latest version of the library at the moment (0.39.4
). I was unable to check the build for version0.34.0
, due to the previously fixed bug.How to reproduce the issue:
git clone git@github.com:Alexis2004/vue-tsc-dts-issue.git
.yarn install && yarn run dts
in the project root.dist/
folder with.d.ts
files is not created.vue-tsc
library in thepackage.json
file to version0.33.9
.yarn install && yarn run dts
.dist/
folder with.d.ts
files appears in the project root.The text was updated successfully, but these errors were encountered: