fix(ts): allow scope as string array type (#2511)

This commit is contained in:
Liam Tait
2021-08-13 03:51:31 +12:00
committed by GitHub
parent be74dd0e7e
commit 66d16f8bf4

View File

@@ -27,7 +27,7 @@ export interface OAuthConfig<P extends Record<string, unknown> = Profile>
headers?: Record<string, any>
type: "oauth"
version: string
scope: string
scope: string | string[]
params: { grant_type: string }
accessTokenUrl: string
requestTokenUrl?: string