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 6eda259 commit 50583ffCopy full SHA for 50583ff
typescript/raven.d.ts
@@ -206,16 +206,14 @@ declare module Raven {
206
captureBreadcrumb(crumb: Breadcrumb): RavenStatic;
207
208
/*
209
- * Set a user to be sent along with the payload.
+ * Set/Clear a user to be sent along with the payload.
210
*
211
* @param {object} user An object representing user data [optional]
212
* If user is undefined, the current user context will be removed.
213
* @return {Raven}
214
*/
215
setUserContext(user?: {
216
- id?: string;
217
- username?: string;
218
- email?: string;
+ [key: string]: string | number | boolean | null | void
219
}): RavenStatic;
220
221
0 commit comments