I have a mixed ts and js project that works fine with the allowJS: true
setting in tsconfig
.
I now want to use Project references which need composite: true
which means the allowJS
can't be used.
Does this mean I can only use Project references in a purely typescript project?
When I run tsc -b
because the js files are not included the output code is missing declarations!
How can I still include the js code in my project but use the newer Project references?