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

export * as doesnt gets ignored #2061

Open
royAmmerschuber opened this issue Sep 4, 2024 · 1 comment
Open

export * as doesnt gets ignored #2061

royAmmerschuber opened this issue Sep 4, 2024 · 1 comment

Comments

@royAmmerschuber
Copy link

With two files

///--- a.ts ---
interface Foo{
    bar:string
}

///--- b.ts ---
export * as Bar from "./a"

if I run

npx ts-json-schema-generator -p b.ts

Then it outputs an empty schema without any definitions.

I would expect it to expose the type Bar.Foo.

@arthurfiorette
Copy link
Collaborator

Hi! Thanks for opening this PR.

Would you like to work on a PR? Remember to add unit tests :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants