From c3c178dad936c9207ecce37fbd16d1ce51d488df Mon Sep 17 00:00:00 2001 From: Aleksandr Popitich Date: Wed, 29 Jun 2016 14:16:37 +0300 Subject: [PATCH 1/2] Fix return type for getRequestInfo method definition. --- adal-angular/adal.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adal-angular/adal.d.ts b/adal-angular/adal.d.ts index 76b86e7150..f181054ecf 100644 --- a/adal-angular/adal.d.ts +++ b/adal-angular/adal.d.ts @@ -133,7 +133,7 @@ declare namespace adal { * Gets requestInfo from given hash. * @returns {string} error message related to login */ - getRequestInfo(hash: string): string; + getRequestInfo(hash: string): RequestInfo; /** * Saves token from hash that is received from redirect. From 83b741116c2f23d2ec3ab3ef2e4ddc17e8d10d0b Mon Sep 17 00:00:00 2001 From: Aleksandr Popitich Date: Wed, 29 Jun 2016 14:32:47 +0300 Subject: [PATCH 2/2] Fix doc-string --- adal-angular/adal.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adal-angular/adal.d.ts b/adal-angular/adal.d.ts index f181054ecf..1c60cbf6ef 100644 --- a/adal-angular/adal.d.ts +++ b/adal-angular/adal.d.ts @@ -131,7 +131,7 @@ declare namespace adal { /** * Gets requestInfo from given hash. - * @returns {string} error message related to login + * @returns {RequestInfo} for appropriate hash. */ getRequestInfo(hash: string): RequestInfo;