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
Running ts-node fails when the tsconfig.json file contains the new attribute "composite": true (microsoft/TypeScript#25600).
The error message is as follows:
TSError: ⨯ Unable to compile TypeScript:
error TS6304: Composite projects may not disable declaration emit.
The reason for this is that ts-node explicitly removes declaration from the TypeScript configuration but leaves composite intact, hence TypeScript complaining about this invalid combination.
The fix would be to adjust the fixConfig function to also always remove composite from the TypeScript configuration.
The text was updated successfully, but these errors were encountered:
Running
ts-node
fails when thetsconfig.json
file contains the new attribute"composite": true
(microsoft/TypeScript#25600).The error message is as follows:
The reason for this is that
ts-node
explicitly removesdeclaration
from the TypeScript configuration but leavescomposite
intact, hence TypeScript complaining about this invalid combination.The fix would be to adjust the
fixConfig
function to also always removecomposite
from the TypeScript configuration.The text was updated successfully, but these errors were encountered: