typing error with custom field
I’m getting a TypeScript typing issue where 
additionalFields become never or null | undefined in the signUpEmail body. This happens even with the example from the docs (lang field).
config (in a separate package in a monorepo) :
Usage (in another package):
If I remove the default value from config, the type of the lang field in signUpEmail body changes to never and the error to "Type 'string' is not assignable to type 'never'.ts(2322)"
(using fastify)
0 Replies