dropbox-sdk-js icon indicating copy to clipboard operation
dropbox-sdk-js copied to clipboard

DropboxAuth.getAuthenticationUrl returns incorrect type

Open edwinvanderven opened this issue 2 years ago • 1 comments

Describe the bug

The DropboxAuth.getAuthenticationUrl has a return type of String which should be a string.

To Reproduce

const url = DropboxAuth.getAuthenticationUrl(...)
// url is now of type String and not string

Expected Behavior The return type should be of type string.

Actual Behavior The return type is currently String.

Screenshots

image

Versions

  • What version of the SDK are you using?

The SDK is the latest version available: 10.34+

  • Are you using Javascript or Typescript?

The problem happens with TypeScript.

edwinvanderven avatar Jun 08 '23 09:06 edwinvanderven

Thanks, I'll ask the team to look into this.

greg-db avatar Jun 08 '23 17:06 greg-db