Slash Lambda with Typescript

Does Slash lambda support typescript by default? I have been writing ES6 javascript files and want to get some added dev help from typescript.

1 Like

The answer, is no… you have to compile any .ts files down to vanilla JavaScript before pushing to Lambda

Typescript really just helps writing things in VS Code. Any program (react, svelte, angular) has to build first before it is deployed, so that makes sense…

The real question is setting up your build, before your automatic deployment in package.json:

I would be interested to see how you did this, as I imagined you streamlined the build as well. Do you guys just use lambda.tslamdas.js → build it, then deploy it?

we are not using TS right now. :expressionless: