Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
typescript composite isolatedModules
Environment
System: OS: macOS 10.14.2
CPU: (4) x64 Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
Binaries:
Node: 11.4.0 - ~/.nvm/versions/node/v11.4.0/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v11.4.0/bin/npm
Browsers:
Chrome: Not Found
Firefox: Not Found
Safari: Not Found
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
Steps to Reproduce
- Run
yarn create react-app my-app --typescript
- add
composite: true to tsconfig.json
- run
yarn start, get Option 'composite' cannot be specified with option 'isolatedModules'. TS5053
- Remove
isolatedModules line from tsconfig
- run
yarn start, create-react-app re-adds isolatedModules and you get the same error
Expected Behavior
I could use the composite flag
Actual Behavior
I can't use the composite flag
Reproducible Demo
Above steps will reproduce this, pretty trivial.
This is potentially equally as much a typescript issue, though this is not really big to me—i just want to be able to build all my packages in my monorepo in one command, rather than having a separate invocation of tsc --build for my website package. But thought I'd log the issue here.
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
typescript composite isolatedModules
Environment
Steps to Reproduce
yarn create react-app my-app --typescriptcomposite: truetotsconfig.jsonyarn start, getOption 'composite' cannot be specified with option 'isolatedModules'. TS5053isolatedModulesline fromtsconfigyarn start,create-react-appre-addsisolatedModulesand you get the same errorExpected Behavior
I could use the
compositeflagActual Behavior
I can't use the composite flag
Reproducible Demo
Above steps will reproduce this, pretty trivial.
This is potentially equally as much a
typescriptissue, though this is not really big to me—i just want to be able to build all my packages in my monorepo in one command, rather than having a separate invocation oftsc --buildfor my website package. But thought I'd log the issue here.