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

Interfaces don't play nice with @expand #78

Open
asarazan opened this issue Mar 8, 2024 · 0 comments
Open

Interfaces don't play nice with @expand #78

asarazan opened this issue Mar 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@asarazan
Copy link
Owner

asarazan commented Mar 8, 2024

I think it comes down to either a bug or a misapplication of typescript's compiler API: typeToString, which will reduce and rasterize all complex type data into a simple runtime type.

Unfortunately it only does this reliably for export type Foo and not export interface Foo 😭

@asarazan asarazan added the bug Something isn't working label Mar 8, 2024
@asarazan asarazan self-assigned this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant