serverless-stack-demo-api icon indicating copy to clipboard operation
serverless-stack-demo-api copied to clipboard

[discussion] Use typescript?

Open quantuminformation opened this issue 8 years ago • 5 comments

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.

quantuminformation avatar Nov 11 '17 15:11 quantuminformation

@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.

jayair avatar Nov 11 '17 20:11 jayair

heres how you can do it with raw ts

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

quantuminformation avatar Nov 11 '17 20:11 quantuminformation

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

jayair avatar Nov 12 '17 23:11 jayair

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

Kind regards

Nikos quantumjs.com

quantuminformation avatar Nov 13 '17 08:11 quantuminformation

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.

jayair avatar Nov 14 '17 19:11 jayair