Does Netlify Dev support TypeScript?

Does Netlify Dev support TypeScript? I’m having trouble finding info about this. Do I need to use netlify-lambda in combination with Netlify Dev? I’m struggling to hit a breakpoint in my IDE in a lambda, for example.

Edit: I got it working with TypeScript by using netlify-lambda for install and build. Now I’m just struggling to hit breakpoints locally in lambdas.

2 Likes

Hi, there is support for typescript in netlify-lambda, but not in netlify-dev. At the moment I personally use netlify-lambda for my deployments and the netlify cli only locally.

I’ve never tested with breakpoints and netlify dev. I recommend filing an issue in the cli repo.

1 Like

Thanks for the reply. Looks like there is already an open issue on the subject: Any way to debug functions? · Issue #409 · netlify/cli · GitHub

3 Likes