Reproducing an issue where recent PR to jest-runner-tsc
caused it to stop type-checking files.
To repro:
yarn
yarn test
Expect: jest fails with TSC type error on index.ts file
Actual: jest passes
Relevant issues:
- original issue (builds are slow) azz/jest-runner-tsc#5
- PR for the fix: azz/jest-runner-tsc#14
- What's the point? azz/jest-runner-tsc#15
- user points out that the fix actually stops reporting type errors (becuase it uses method
transpileModule
)
- user points out that the fix actually stops reporting type errors (becuase it uses method
- transpileModule() does not generate diagnostics microsoft/TypeScript#4864
- old issue where TypeScript team is responding to users who expect
transpileModule()
to report diagnostics, they explain why it's not feasible
- old issue where TypeScript team is responding to users who expect