vkoves / electrify-chicago

Learn about Chicago's most polluting buildings, and what they can do to clean up their act!
http://electrifychicago.net
9 stars 5 forks source link

Migrate to Typescript #1

Closed vkoves closed 1 year ago

vkoves commented 1 year ago

Description

Migrates the project to Typescript, using the Gridsome typescript starter as a demo.

Most of the types are pretty solid but a lot of the building related stuff gets pretty messy because I made it pretty broad (buildings are mostly typed as { [key: string]: number | string | null } which makes things annoying). However this is a great start and makes it easy to improve, and it took a lot of work to get here.

netlify[bot] commented 1 year ago

Deploy Preview for radiant-cucurucho-d09bae ready!

Name Link
Latest commit f041b294eb9b1762a20689c2b4deafc8edfa43bb
Latest deploy log https://app.netlify.com/sites/radiant-cucurucho-d09bae/deploys/6420a9581a56dc000849557c
Deploy Preview https://deploy-preview-1--radiant-cucurucho-d09bae.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.