Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean export #13

Closed
ZihanChen-MSFT opened this issue Dec 16, 2020 · 1 comment
Closed

Clean export #13

ZihanChen-MSFT opened this issue Dec 16, 2020 · 1 comment
Assignees
Labels
type projection All about Flow to TypeScript projections
Milestone

Comments

@ZihanChen-MSFT
Copy link
Collaborator

declare namespace $f2tExportDefaultRedirect {
  export const $f2tHidden_Value: $TypeOf<typeof $12>;
}
declare namespace $f2tExportDefault {
  export const Value: $TypeOf<typeof $f2tExportDefaultRedirect.$f2tHidden_Value>;
  export type Value = $TypeOf<typeof $f2tExportDefaultRedirect.$f2tHidden_Value>;
}

Generated code like this can be much more clear by having a hint file

@ZihanChen-MSFT ZihanChen-MSFT added the type projection All about Flow to TypeScript projections label Dec 16, 2020
@ZihanChen-MSFT ZihanChen-MSFT self-assigned this Dec 16, 2020
@alloy
Copy link
Member

alloy commented Jan 5, 2021

How urgent is this? It sounds like it could be a post-v1 task.

@alloy alloy added this to the v1 milestone Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type projection All about Flow to TypeScript projections
Projects
None yet
Development

No branches or pull requests

2 participants