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

TypeScript definitions #36

Open
Zamiell opened this issue Aug 2, 2022 · 3 comments
Open

TypeScript definitions #36

Zamiell opened this issue Aug 2, 2022 · 3 comments

Comments

@Zamiell
Copy link

Zamiell commented Aug 2, 2022

Hello, and thanks for the library.

Can you please add TypeScript definitions so that TypeScript users can consume it?

@sterpe
Copy link
Collaborator

sterpe commented Aug 2, 2022

No, but I will accept a PR.

@sterpe sterpe closed this as completed Aug 2, 2022
@sterpe sterpe reopened this Aug 2, 2022
@Zamiell
Copy link
Author

Zamiell commented Aug 2, 2022

For any other TypeScript users reading this, I recommend using: https://github.com/aautio/validate-with-xmllint

@xgqfrms
Copy link
Contributor

xgqfrms commented Sep 20, 2023

For any other TypeScript users reading this, I recommend using: https://github.com/aautio/validate-with-xmllint

This solution only works in Node.js, not support in browsers.

Because it uses the child_process API in the code.

aautio/validate-with-xmllint#23 (comment)

refs

https://stackoverflow.com/questions/77105411/defining-typescript-types-for-commonjs-module

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

3 participants