next-auth@4.24.10版本导入NextAuth出现TS2305错误的问题咨询
next-auth@4.24.10版本导入NextAuth出现TS2305错误的问题咨询
我在使用next-auth@4.24.10版本时,导入NextAuth遇到了TypeScript错误,具体情况如下:
我的导入代码:
import { NextAuth } from 'next-auth';
出现的错误提示:
Module "next-auth" has no exported member 'NextAuth'.ts(2305) import NextAuth
想请教一下这是什么问题?我当前使用的next-auth版本是"next-auth": "^4.24.10"。
备注:内容来源于stack exchange,提问作者Tonni Akter Bithi
相关产品推荐
相关产品推荐

