Skip to content

Commit cd413e8

Browse files
committed
add reason
1 parent 0ee4640 commit cd413e8

File tree

1 file changed

+1
-1
lines changed
  • packages/nextjs/src/app-router/server

1 file changed

+1
-1
lines changed

packages/nextjs/src/app-router/server/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ auth.protect = async (...args) => {
6666
redirect,
6767
});
6868

69-
// @ts-ignore
69+
// @ts-expect-error TS flattens all possible combinations of the for AuthProtect signatures in a union.
7070
return protect(...args);
7171
};

0 commit comments

Comments
 (0)