AnomalyInnovations / serverless-stack-demo-api

Source for the demo app API in the Serverless Stack Guide
https://demo.serverless-stack.com
MIT License
518 stars 197 forks source link

[discussion] Use typescript? #9

Open quantuminformation opened 6 years ago

quantuminformation commented 6 years ago

I find it quite useful to use TS with the AWS SDK, I was wondering if we should look at doing it here? It works with serverless webpack I believe.

jayair commented 6 years ago

@QuantumInformation I personally haven't had a chance to use TS yet. But if you find a way to set it up, I'd like to try it.

quantuminformation commented 6 years ago

heres how you can do it with raw ts

https://github.com/serverless/examples/pull/93

jayair commented 6 years ago

@QuantumInformation Nice work! Just looking through your example; do you know if there is an example with Serverless Webpack and TS anywhere?

quantuminformation commented 6 years ago

I don't know, but serverless webpack does support Ts --

Kind regards

Nikos quantumjs.com

jayair commented 6 years ago

I'll take a look when I get a chance. But if anybody comes across this thread and has an example, please post a link to it here.