From 381a84cd298f7a401a421a3b6f4e9ec206ad4539 Mon Sep 17 00:00:00 2001 From: Luca Vazzano Date: Tue, 10 Jan 2017 14:13:02 +0100 Subject: [PATCH] fixed username to name in RavenUserContext (in .d.ts) In the d.ts for raven.js the interface `RavenUserContext ` has the member `username. If you look at the corresponding [js-file](https://github.com/getsentry/raven-js/blob/master/src/raven.js#L658) you see that the meber should really be called `name.` --- typescript/raven.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/raven.d.ts b/typescript/raven.d.ts index d7e128e79faa..792d211a50d5 100644 --- a/typescript/raven.d.ts +++ b/typescript/raven.d.ts @@ -117,7 +117,7 @@ interface RavenWrapOptions extends RavenOptions { */ interface RavenUserContext { id?: string; - username?: string; + name?: string; email?: string; }