Skip to content

Research TypeScript and migration methods #42

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
MirandaWood opened this issue Feb 14, 2022 · 1 comment
Closed

Research TypeScript and migration methods #42

MirandaWood opened this issue Feb 14, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@MirandaWood
Copy link
Contributor

MirandaWood commented Feb 14, 2022

Using a statically typed language is standard for compilers, and would improve our class management!
We should do this before making large changes to the logic as it requires touching every bit of js code - will (hopefully) be easier to add features in ts than add them in js and upgrade later.

This will be a big job so will assign as an epic.

@MirandaWood MirandaWood added the enhancement New feature or request label Feb 14, 2022
@MirandaWood MirandaWood added this to the Migrate to TypeScript milestone Feb 14, 2022
@MirandaWood MirandaWood changed the title Migrate to TypeScript Research TypeScript and migratio methods Feb 14, 2022
@MirandaWood MirandaWood changed the title Research TypeScript and migratio methods Research TypeScript and migration methods Feb 14, 2022
@MirandaWood MirandaWood changed the title Research TypeScript and migration methods Migrate to TypeScript Feb 14, 2022
@MirandaWood MirandaWood changed the title Migrate to TypeScript Research TypeScript and migration methods Feb 14, 2022
@MirandaWood
Copy link
Contributor Author

MirandaWood commented Feb 15, 2022

Solc-js (compiler wrapper* for Solidity -> abi, ast, etc.) migrated/is migrating to ts as well. Their process will probably be useful to check out: ethereum/solc-js#287

Plus, Consensys have an AST traverser written in ts: https://github.com/ConsenSys/solc-typed-ast
This will likely help us change the NodePath and other classes to ts

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

No branches or pull requests

1 participant