v4.5 regression: The inferred type of '…' cannot be named without a reference to '…' #46659
Labels
Bug
A bug in TypeScript
Fix Available
A PR has been opened for this issue
Recent Regression
This is a new regression just found in the last major/minor version of TypeScript.
Milestone
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
⏯ Playground Link
N/A
💻 Code
package.json
:tsconfig.json
:src/facade.ts
:src/main.ts
:Steps to reproduce:
yarn
tsc
🙁 Actual behavior
No error, as it behaved in 4.4.4.
🙂 Expected behavior
Error:
I am able to workaround this by modifying
src/facade.ts
like so:export { connectable, EMPTY } from 'rxjs'; +export * from 'rxjs/internal/types'
Note also that the error doesn't reproduce if we import directly from
rxjs
:src/main.ts
:The text was updated successfully, but these errors were encountered: