Using Typescript for a Vercel Function without a "Framework"

Btw the error I’m getting (with the same code that is on github):
image