avatar icon indicating copy to clipboard operation
avatar copied to clipboard

Adds typescript types & edits package.json to support it

Open anglinb opened this issue 3 years ago • 1 comments

👋 Feel free to close this if you're not much of a typescript person. I'm planning on extending this project (in my fork) and I prefer my types so decided to offer the typed starting project back if that's helpful before I go messing with it. 🙂

  • Adds tsconfig.json
  • Changes all files from .js to .ts
  • Changes package.json config for dev & build
  • Bumps sharp to 0.30.1 to run on Node 16

I verified that the dev, build, & start commands work.

anglinb avatar Feb 10 '22 23:02 anglinb

Looks great to me! Managed to deploy this PR on Railway.app as well, since main branch is currently failing.

anatolinicolae avatar Apr 01 '22 21:04 anatolinicolae