Skip to content

how to make vue-tsc use a different tsconfig file? #1741

Answered by mesqueeb
mesqueeb asked this question in Q&A
Discussion options

You must be logged in to vote

This will use the default tsconfig.json:

  "generate:types": "vue-tsc --declaration --emitDeclarationOnly",

This will use another tsconfig.json, eg. tsconfig.declaration.json:

  "generate:types": "vue-tsc --declaration --emitDeclarationOnly --project tsconfig.declaration.json",

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mesqueeb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant