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 2c65f63 commit d27fbceCopy full SHA for d27fbce
packages/types/src/session.ts
@@ -4,10 +4,6 @@ export interface RequestSession {
4
status?: RequestSessionStatus;
5
}
6
7
-/**
8
- * Session Context
9
- */
10
-// TODO: make properties required that were set by ctor
11
export interface Session {
12
sid: string;
13
did?: string;
@@ -30,6 +26,8 @@ export interface Session {
30
26
* Overrides default JSON serialization of the Session because
31
27
* the Sentry servers expect a slightly different schema of a session
32
28
* which is described in the interface @see SerializedSession in this file.
29
+ *
+ * @return a Sentry-backend conforming JSON object of the session
33
*/
34
toJSON(): SerializedSession;
35
0 commit comments