Closed BurtHarris closed 4 years ago
Also note: while the error message says Build completed with errors. Outputs generated.
, it looks to me like outputs are actually not generated in this situation. Perhaps that's different bug.
I retract previous speculation this might have been related to #106.
@BurtHarris Thank-you for your input. Before addressing this issue, TsProject must be updated to utilize the latest Typescript version.
The minified Greeter sample has been re-written for TsProject v4.0.
Error:
Environment: node -v: v8.9.3 npm -v: 5.5.1 os: Microsoft Windows [Version 10.0.16299.98]
Steps to reproduce:
Explanation:
Notes: MinifiedTypescript's package.json specifies
typescript@~2.0.6
, it's inheritingtsproject@~2.1.0
, which depends ontypescript@~2.3.2
, the latest revision of which is2.3.4
. This version must have changed the return type declaration ofSetTimer()
, generating the above error message.I think if
tsproject
used a peerDependency on typescript, rather than a dependency, then the declared dev-dependency of MinifiedTypescript's would control, and this error wouldn't appear until it's version of typescript were manually upgraded.