Working in the standard signup.ts and added name t...
# prisma-whats-new
e
Working in the standard signup.ts and added name to create user. Seems to work alright, but when I deploy i get a warning in this line:
Copy code
const { email, password, name } = event.data
Warnings:
Copy code
signup.ts (25,17): Type '{}' has no property 'email' and no string index signature.
signup.ts (25,24): Type '{}' has no property 'password' and no string index signature.
signup.ts (43,68): Type '{}' has no property 'name' and no string index signature.
n
further above there are some interfaces that describe the shape of
Event
. you need to adjust it.