mapProfileToUser throwing The inferred type of 'auth' cannot be named without a reference to '../../
I am using a monorepo using turborepo and when i use
mapProfileToUser
in the oAuth provider options i get this error:
leading me to be unable to use this function otherwise i get some build errors, i know there is some work arounds but not something i would like to do4 Replies
Hello, have you set
strict
to true
in your tsconfig?Yes I have, still no success I decided to just use a database hook to get around it as I was just mapping the first name and last name properties
Hey all, I'm also seeing this issue when using
mapProfileToUser
in my Turborepo monorepo
Make sure that declarations is set to false too.