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
{{ message }}
This repository was archived by the owner on May 22, 2025. It is now read-only.
Summary:
A TypeScript interface becomes a Closure function.
The previous code attempted to export that function when the
interface was exported, but due to
microsoft/TypeScript#10122
it actually wasn't exporting.
You can see this in the new test goldens, where export.js now
includes "Bar" as an export. (Bar is a TypeScript interface but
at the Closure level it is a value and must be in the module
exports.)
This also lets us remove a crazy forward declare hack that actually
wasn't necessary -- it was just working around that the export
wasn't working.
This matches the exporting behavior in d090fe4.
Reviewers: rkirov
Reviewed By: rkirov
Subscribers: typescript-eng
Differential Revision: https://reviews.angular.io/D213
0 commit comments