mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +00:00
chore: enable lint rule noTsIgnore (#4296)
This commit is contained in:
@@ -393,7 +393,6 @@ export default function UserCard(props: {
|
||||
setIsPendingTwoFa(true);
|
||||
if (session?.user.twoFactorEnabled) {
|
||||
const res = await client.twoFactor.disable({
|
||||
//@ts-ignore
|
||||
password: twoFaPassword,
|
||||
fetchOptions: {
|
||||
onError(context) {
|
||||
|
||||
@@ -29,7 +29,7 @@ export default async function AuthorizePage({
|
||||
const session = await auth.api.getSession({
|
||||
headers: await headers(),
|
||||
});
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
const clientDetails = await auth.api.getOAuthClient({
|
||||
params: {
|
||||
id: client_id,
|
||||
|
||||
Reference in New Issue
Block a user