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.
user.id
1 parent 428e531 commit 130e4a3Copy full SHA for 130e4a3
packages/types/src/session.ts
@@ -6,7 +6,7 @@ export interface RequestSession {
6
7
export interface Session {
8
sid: string;
9
- did?: string;
+ did?: string | number;
10
init: boolean;
11
// seconds since the UNIX epoch
12
timestamp: number;
packages/types/src/user.ts
@@ -1,7 +1,7 @@
1
/** JSDoc */
2
export interface User {
3
[key: string]: any;
4
- id?: string;
+ id?: string | number;
5
ip_address?: string;
email?: string;
username?: string;
0 commit comments