We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb70e8 commit c38e006Copy full SHA for c38e006
src/token.ts
@@ -1,8 +1,8 @@
1
export type TokenParam = {
2
token: string | undefined;
3
type: 'invite' | 'recovery' | 'email_change' | undefined;
4
- error?: 'access_denied';
5
- status?: 403;
+ error: 'access_denied' | undefined;
+ status: 403 | undefined;
6
};
7
8
export const defaultParam: TokenParam = {
0 commit comments