We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69239d4 commit 095eeb7Copy full SHA for 095eeb7
src/index.ts
@@ -1,4 +1,4 @@
1
-declare interface Options {
+interface Options {
2
clientId: string
3
4
allowSignup?: boolean
@@ -19,7 +19,7 @@ export interface Result {
19
20
const BASE_URL = 'https://github.com/login/oauth/authorize'
21
22
-export default function login (options: Options): Result {
+export function oauthLoginUrl (options: Options): Result {
23
const scopesNormalized = typeof options.scopes === 'string'
24
? options.scopes.split(/[,\s]+/).filter(Boolean)
25
: Array.isArray(options.scopes) ? options.scopes : []
0 commit comments