chore: enable lint rule noTsIgnore (#4296)

This commit is contained in:
Alex Yang
2025-08-28 15:09:47 -07:00
committed by GitHub
parent 7d7d1350ce
commit 70d4dc609a
28 changed files with 47 additions and 92 deletions

View File

@@ -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) {

View File

@@ -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,