Declaration file has wrong reference path for composite projects #37928
Labels
Fix Available
A PR has been opened for this issue
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
TypeScript Version: 3.9.0-dev.20200413, 3.8.3
Search Terms: composite projects, declaration files, paths, reference, baseUrl
Code
npm install
npm run build-non-composite
- it should be fineThen, if you run
npm run build
- there are 2 errors:And if you run
npm run build-baseUrl
- there are another 2 errors:This is pretty similar to #31696. In this case we have 2 bugs:
npm run build
incorrect generated path forreference path
(it exits for 1 more folder).npm run build-baseUrl
(which is differ frombuild
case in the onlybaseUrl
compiler option incommon
sub-project) incorrectly replacedrefernce path
withreference types
, so no project could use it because they might (and will) not have the samebaseUrl
option.Related Issues: #31696, #25600
The text was updated successfully, but these errors were encountered: