From b0280b267d65f925f2370e54bdb43c1b53072b5f Mon Sep 17 00:00:00 2001 From: Benjamin Date: Mon, 16 Dec 2024 19:15:48 +0100 Subject: [PATCH] Update index.d.ts I believe this is a typo. `string` should be used in favor of `String` --- types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index b6a073b5..51c43134 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -74,10 +74,10 @@ export class DropboxAuth { * @arg {boolean} [usePKCE] - Whether or not to use Sha256 based PKCE. PKCE should be only use on * client apps which doesn't call your server. It is less secure than non-PKCE flow but * can be used if you are unable to safely retrieve your app secret - * @returns {Promise} - Url to send user to for Dropbox API authentication + * @returns {Promise} - Url to send user to for Dropbox API authentication * returned in a promise */ - getAuthenticationUrl(redirectUri: string, state?: string, authType?: 'token' | 'code', tokenAccessType?: null | 'legacy' | 'offline' | 'online', scope?: Array, includeGrantedScopes?: 'none' | 'user' | 'team', usePKCE?: boolean): Promise; + getAuthenticationUrl(redirectUri: string, state?: string, authType?: 'token' | 'code', tokenAccessType?: null | 'legacy' | 'offline' | 'online', scope?: Array, includeGrantedScopes?: 'none' | 'user' | 'team', usePKCE?: boolean): Promise; /** * Get the client id