Skip to content

Static type checks #62

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

Open
andrewkmin opened this issue Mar 3, 2025 · 1 comment
Open

Static type checks #62

andrewkmin opened this issue Mar 3, 2025 · 1 comment

Comments

@andrewkmin
Copy link
Contributor

Would be nice to have static type + lint checks, to verify validity of logic pre-runtime

@r-n-o
Copy link
Collaborator

r-n-o commented Mar 9, 2025

I think more realistically we should move to TypeScript and add a compilation step. The initial "vision" for this repo was to minimize the amount of tooling and dependencies we rely on, such that people loading iframes can understand where the code comes from with minimal hops. I think a ts->js compilation step would get us a lot of safety and comfort for a minimal number of extra hops: one. Typescript as a dependency is also safe to take, as long as the compiled code is checked in and reviewed.

We could mirror the setup of https://github.com/paulmillr/noble-curves to get there.

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