FRP: Migrate to Typescript
Majorfi opened this issue Β· comments
What is your proposal π
Move the repo to typescript, based on the web-template: https://github.com/yearn/web-template
Same eslint, tsconfig etc. should be used. Yearn Web Lib should be integrated with it, just like in the _app.tsx
file in web-template repo.
What does this solve ? π
Better consistency for Yearn Org
More π
N/A
I haven't migrated a React repo to Typescript before but it should be straightforward. I currently have a local branch which I've setup to use Typescript (specifically tsconfig etc. from yearn/web-template). The plan is to make required config changes and update the site file by file converting js files to tsx. Will submit a draft pull request shortly.