Skip to content

Generating for a single WebIDL file #849

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

Closed
iBicha opened this issue Apr 11, 2020 · 4 comments
Closed

Generating for a single WebIDL file #849

iBicha opened this issue Apr 11, 2020 · 4 comments

Comments

@iBicha
Copy link

iBicha commented Apr 11, 2020

Is there an obvious way to generate a file for a single widl file?

@HolgerJeromin
Copy link
Contributor

@iBicha
Copy link
Author

iBicha commented Apr 11, 2020

Have you read this?
https://github.com/microsoft/TSJS-lib-generator/blob/master/README.md#build-instructions

Yes. Building will merge everything in dom.generated.d.ts, webworker.generated.d.ts and dom.iterable.generated.d.ts. I'm looking for generating from a single .widl, into its own .d.ts file, not merged with every other WebIDL.

@HolgerJeromin
Copy link
Contributor

You could adapt the script if you want to do that often. Or make a diff to find the new things.

@iBicha
Copy link
Author

iBicha commented Apr 11, 2020

There was been multiple instance as I see where generating a separate file is beneficial. #826 #211
This looks like something needed to be built-in, not adapted for edge cases

@iBicha iBicha closed this as completed Oct 31, 2022
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