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.

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.

Thanks for the reply. Looks like there is already an open issue on the subject: https://github.com/netlify/cli/issues/409

1 Like