We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ee4640 commit cd413e8Copy full SHA for cd413e8
packages/nextjs/src/app-router/server/auth.ts
@@ -66,6 +66,6 @@ auth.protect = async (...args) => {
66
redirect,
67
});
68
69
- // @ts-ignore
+ // @ts-expect-error TS flattens all possible combinations of the for AuthProtect signatures in a union.
70
return protect(...args);
71
};
0 commit comments