Join Slack
Powered by
A lot of example code (eg <https://github.com/pris...
# orm-help
s
skainswo
10/25/2018, 4:07 AM
A lot of example code (eg
https://github.com/prisma/prisma-examples/blob/master/typescript-graphql-auth/src/resolvers/Mutation.ts
) shows code like
await prisma.createUser(...)
but these functions are not typed (in the TypeScript client) as returning `Promise`s. What’s up with that? Are they actually `Promise`s or not?
Open in Slack
Previous
Next