migrate to typescript
maybesmurf opened this issue · comments
Typescript is already the defacto mainstream for any serious project out there, i'm not sure why it's not written in typescript in the first place. It's still not too late to start migration piece by piece before the project gets too large.
thanks @maybesmurf! I agree most projects right now are written in TS and it's a good choice.
it was my deliberate choice to work on JS initially as it was intended for early stage founders who are not akin to working with TS to answer your uncertainty.
a TS implementation is on the way, though. care to share some contributions on TS migration? 🙂
care to share some contributions on TS migration?
Definitely. I'll be most glad to. Though the base structure needs to be set up so i (other contributors as well) can all follow the same pattern to enforce consistency all round
awesome! I'm looking forward to this one. let me know what you need to proceed :)
A tool to help migrate JavaScript code quickly and conveniently to TypeScript
https://github.com/airbnb/ts-migrate
There is a typescript branch, right?
@arjayosma I'm ready to start contributing to the typescript migration but i noticed the typescript branch is still bland. Do you mind setting up the tsconfig and typescript eslint just to get it off the ground? As the project owner, i believe it's more appropriate so we can follow your conventions otherwise we may follow some different conventions which you might believe is not appropriate in given situation.
@maybesmurf got it! I'll prepare the base project for typescript migration. I don't mind the convention for now. thanks for taking the time. I'll get back to you on this
so,There is a typescript branch, right?
@xbyyz: yes, there's a TS branch but it'll be removed today.
Here's the TS project: https://github.com/nextacular/nextacular-ts
It's still experimental, haven't tested much of it, but have added the necessary TS configurations for a Next.JS project.
The project will build though if you set the tsconfig.json
file's strict
mode to false
.
CC: @maybesmurf, @fredguth
I will be closing this issue. :D Thanks!