Skip to content

Commit d27fbce

Browse files
committed
cleanup, remove done todo
1 parent 2c65f63 commit d27fbce

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/types/src/session.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ export interface RequestSession {
44
status?: RequestSessionStatus;
55
}
66

7-
/**
8-
* Session Context
9-
*/
10-
// TODO: make properties required that were set by ctor
117
export interface Session {
128
sid: string;
139
did?: string;
@@ -30,6 +26,8 @@ export interface Session {
3026
* Overrides default JSON serialization of the Session because
3127
* the Sentry servers expect a slightly different schema of a session
3228
* which is described in the interface @see SerializedSession in this file.
29+
*
30+
* @return a Sentry-backend conforming JSON object of the session
3331
*/
3432
toJSON(): SerializedSession;
3533
}

0 commit comments

Comments
 (0)