Private types export check gets thrown off by mutually recursive types that are exported separately #14753
Labels
Bug
A bug in TypeScript
Domain: Declaration Emit
The issue relates to the emission of d.ts files
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: 2.2.1
Code
Expected behavior:
No errors, all interfaces are exported.
Actual behavior:
f.ts(7,6): error TS4033: Property 'b' of exported interface has or is using private name 'B'.
The text was updated successfully, but these errors were encountered: