Proxying: stripe.com/blog/migrating-to-typescript