add ts ignore for auth funct

This commit is contained in:
StephDietz
2023-09-20 13:56:30 -05:00
parent 63a96ce7a1
commit 0c6408cf7d

View File

@@ -10,10 +10,12 @@ const authOptions: NextAuthOptions = {
name: 'credentials',
credentials: {},
// TODO: Not sure how to type authorize function correctly
// @ts-ignore
async authorize(credentials: {
email: string;
password: string;
}): Promise<null | User | undefined> {
}): Promise<User | null | undefined> {
const { email, password } = credentials;
try {