From 1b87de76aa434612661f7d84c079d0777ecf3a6c Mon Sep 17 00:00:00 2001 From: Jussi Kinnula Date: Mon, 30 Apr 2018 19:08:53 +0300 Subject: [PATCH] Add @types/auth0 missing type profileData to Identity interface (#25251) * Add @types/auth0 missing optional type profileData for Identity interface * Update @types/auth0 auth0 version from 2.7 to 2.9.1 --- types/auth0/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/auth0/index.d.ts b/types/auth0/index.d.ts index 95c6af47ea..516e2cc368 100644 --- a/types/auth0/index.d.ts +++ b/types/auth0/index.d.ts @@ -345,6 +345,14 @@ export interface Identity { user_id: string; provider: string; isSocial: boolean; + profileData?: { + email?: string; + email_verified?: boolean; + name?: string; + phone_number?: string; + phone_verified?: boolean; + request_language?: string; + } } export interface AuthenticationClientOptions {