Typescript - how to infer additional, non-database fields during registration
Hi everyone,
I'm implementing the email credential flow.
When signing up, I want the user to also specify a
This
The code I've written works fine, but I can't find from the docs a way to remove the type error - could you please provide some guidance?
Thank you!
I'm implementing the email credential flow.
When signing up, I want the user to also specify a
registrationToken similar to how matrix.org (decentralised chat client) does it.This
registrationToken should not be stored in the database (it's used strictly during the sign up process).The code I've written works fine, but I can't find from the docs a way to remove the type error - could you please provide some guidance?
Thank you!


