zerobase-io / smart-tracing

Privacy-First Contact Tracing to Keep Communities Safe
https://zerobase.io
Apache License 2.0
27 stars 13 forks source link

Convert TypeScript files into JavaScript/ES6 #263

Open tomlovett opened 4 years ago

tomlovett commented 4 years ago

TypeScript is very picky. Most of the team has little to no experience working with TypeScript, so it continuing down that route would slow development of v2.

Refactor TypeScript files into JavaScript/ES6 syntax. It's okay to ignore files that are not likely to change.

vidimitrov commented 4 years ago

Keep in mind that you can always create a super tolerant .tsconfig settings, instead of using .js files and ditch the TS support completely.

It's easy to write pure JS/ES6 in .tsx files and add types only if needed. The opposite will be quite hard if we want to migrate someday.

Just my two cents as a TS developer (but a vanilla JS lover) for more than 4 years.