The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix the type
Kiran K3e4e3c42d5f5
diff --git a/apps/web/lib/auth/options.ts b/apps/web/lib/auth/options.tsindex e652359595..314c77e379 100644--- a/apps/web/lib/auth/options.ts+++ b/apps/web/lib/auth/options.ts@@ -273,7 +273,6 @@ export const authOptions: NextAuthOptions = {return false;}- // @ts-ignoreif (user?.lockedAt) {return false;}diff --git a/apps/web/lib/next-auth.d.ts b/apps/web/lib/next-auth.d.tsnew file mode 100644index 0000000000..afe4cff56a--- /dev/null+++ b/apps/web/lib/next-auth.d.ts@@ -0,0 +1,7 @@+import "next-auth";++declare module "next-auth" {+ interface User {+ lockedAt?: Date;+ }+}