netlify/netlify-plugin-edge-handlers

Use TypeScript types during bundling

ehmicky opened this issue · 3 comments

If the Edge handlers is written in TypeScript and is using our type definitions, should Rollbar throw an error while transpiling TypeScript and there is a type error? At the moment, it does not seem to.

Good point, we need to create a way of capturing any type errors and propagating it to the user when bundling

I would expect Rollup to use tsc under the hood for transpiling TypeScript, so there might an option to surface tsc errors/warnings.

We have removed the TypeScript transpiling, so this can be closed.