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
Set up @RyanCavanaugh's learn-a sample repo as per his instructions. Now run lerna add @types/multer to add multer typings to all three packages. Run tsc -b packages --forceto confirm it still builds fine. Now add the following line to pkg1/src/index.ts:
export{Options}from'multer';
Run tsc -b packages --force again.
Expected behavior:
Builds successfully.
Actual behavior:
tsc crashes due to a violated assertion. I looked briefly at the stack trace and assertion, and it seems to be something to do with the global augmentation of the Express namespace.
@sandersn super interesting - this hits the target !== source assert added to mergeSymbolTable despite not having any .js files. Doesn't seem to be related to --build (can repro this under normal tsc -p once upstreams are built)
TypeScript Version: 3.0.0-dev.20180630
Search Terms:
build mode, crash
Steps to Reproduce:
Set up @RyanCavanaugh's
learn-a
sample repo as per his instructions. Now runlerna add @types/multer
to addmulter
typings to all three packages. Runtsc -b packages --force
to confirm it still builds fine. Now add the following line topkg1/src/index.ts
:Run
tsc -b packages --force
again.Expected behavior:
Builds successfully.
Actual behavior:
tsc
crashes due to a violated assertion. I looked briefly at the stack trace and assertion, and it seems to be something to do with the global augmentation of theExpress
namespace.Related Issues:
Originally reported in #3469 (comment).
The text was updated successfully, but these errors were encountered: