ericgio / weekday-golf

A codified history of our bi-weekly-ish games.
1 stars 2 forks source link

Switch the code base to TypeScript #18

Open makinde opened 4 years ago

makinde commented 4 years ago

[note, I don’t have any short terms plans here, just tracking the idea]

Next has pretty good built in support for typescript. It’s roughly as simple as making a file end with .tx instead of .js. Since we pass around so many arrays and dictionaries, it’ll be useful to have the compiler make sure the right fields are present.

https://nextjs.org/docs/basic-features/typescript