Control TSC's noEmit or emitDeclarationOnly when using composite projects
Created by: pleerock
create-react-app
doesn't work in composite typescript projects, because for composite projects emitDeclarationOnly
must be used instead of noEmit
(when using noEmit: true and composite: true typescript compiler throws an error). I suggest to add a check - if typescript project is composite-based, use emitDeclarationOnly
flag instead of noEmit
.
See https://github.com/microsoft/TypeScript/issues/36917 for more information.