Testausserveri / matikkaeditori.fi

Online math notebook based on familiar Abitti editor
https://matikkaeditori.fi
GNU General Public License v3.0
11 stars 3 forks source link

Migrate to Typescript #47

Closed Eldemarkki closed 1 year ago

Eldemarkki commented 1 year ago

This in-progress pull request converts all files to Typescript

I would really appreciate if someone reviewed the tsconfig file. I set it to ES2016 because it seems to be well supported, but this can of course be changed later. I didn't pay much attention to the other settings, this just seemed to work.

Before merging, check if the added eslint rules can be reverted (import/extensions and the settings part). We extend the Airbnb eslint config, so the typescript version of it might be worth checking out too.