Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Commitf07cf6a

Browse files
ilkkablakeembrey
authored andcommitted
Tweak type declaration to match JS API (#41)
1 parent9059d36 commitf07cf6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ declare class ClientOAuth2 {
55
credentials:ClientOAuth2.CredentialsFlow;
66
jwt:ClientOAuth2.JwtBearerFlow;
77

8-
constructor(options:ClientOAuth2.Options,request:ClientOAuth2.Request);
8+
constructor(options:ClientOAuth2.Options,request?:ClientOAuth2.Request);
99

1010
createToken(data:ClientOAuth2.Data):ClientOAuth2.Token;
1111
createToken(accessToken:string,data:ClientOAuth2.Data):ClientOAuth2.Token;
@@ -24,7 +24,7 @@ declare namespace ClientOAuth2 {
2424
accessTokenUri?:string
2525
authorizationUri?:string
2626
redirectUri?:string
27-
scopes?:string
27+
scopes?:string[]
2828
state?:string
2929
body?:{
3030
[key:string]:string|string[];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp