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

Add types #357

Open
Divide-By-0 opened this issue May 3, 2023 · 1 comment
Open

Add types #357

Divide-By-0 opened this issue May 3, 2023 · 1 comment

Comments

@Divide-By-0
Copy link

When importing snarkjs into typescript, there's no @types package which makes cross compatibility difficult.

@phated
Copy link
Contributor

phated commented May 6, 2023

The @types scope on npm is managed by the community. You can create bindings against their repo and then consume them.

We may adopt https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html but that will take a long time.

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