Do functions in the graphcool-framework allow for ...
# prisma-whats-new
Do functions in the graphcool-framework allow for TypeScript and ES modules? I keep receiving an error "async is not defined" when running my function. The function seems to execute correctly, but returns the error. I'm wondering if there is some TypeScript configuration error on Graphcool's side
@lastmjs yes they do support TypeScript. Here's an example:
Thanks, the problem is that I keep receiving "async is not defined" when my function runs on graphcool's hosted environment
My TypeScript is valid, and the function used to run flawlessly, but now returns this error. That's what makes me think something happened on the hosted infrastructure side of things
So sorry, the issue was all in my own code, completely separate from Graphcool's hosted infrastructure