Skip to content

Commit

Permalink
Merge pull request #38 from girder/array-syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhelba committed Jan 28, 2022
2 parents dced329 + d81929f commit 957c754
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/oauth-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class OauthClient {
constructor(
authorizationServerBaseUrl: string,
protected readonly clientId: string,
scopes: Array<string> = [],
scopes: string[] = [],
) {
if (!window.isSecureContext) {
throw Error('OAuth Client cannot operate within insecure contexts.');
Expand Down
2 changes: 1 addition & 1 deletion src/oauth-facade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class OauthFacade {
authorizationServerBaseUrl: string,
protected readonly redirectUrl: string,
protected readonly clientId: string,
protected readonly scopes: Array<string>,
protected readonly scopes: string[],
) {
// Strip any trailing slash
this.authorizationServerBaseUrl = authorizationServerBaseUrl
Expand Down

0 comments on commit 957c754

Please sign in to comment.