File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ import { createClient } from "@openauthjs/openauth/client"
223223
224224const client = createClient ({
225225 clientID: " my-client" ,
226- issuer: " https://auth.myserver.com" // url to the OpenAuth server
226+ issuer: " https://auth.myserver.com" , // url to the OpenAuth server
227227})
228228` ` `
229229
@@ -279,7 +279,7 @@ const challenge = JSON.parse(localStorage.getItem("challenge"))
279279const exchanged = await client .exchange (
280280 query .get (" code" ),
281281 redirect_uri ,
282- challenge .verifier
282+ challenge .verifier ,
283283)
284284if (exchanged .err ) throw new Error (" Invalid code" )
285285localStorage .setItem (" access_token" , exchanged .tokens .access )
@@ -293,7 +293,7 @@ const accessToken = localStorage.getItem("access_token")
293293fetch (" https://auth.example.com/api/user" , {
294294 headers: {
295295 Authorization: ` Bearer ${accessToken } ` ,
296- }
296+ },
297297})
298298` ` `
299299
Original file line number Diff line number Diff line change @@ -467,16 +467,16 @@ function renderComment(declaration: TypeDoc.Reflection) {
467467
468468 return [
469469 declaration instanceof TypeDoc . DeclarationReflection &&
470- declaration . defaultValue
470+ declaration . defaultValue
471471 ? [
472- `` ,
473- `<InlineSection>` ,
474- `**Default** ${ renderType ( {
475- type : "literal" ,
476- value : declaration . defaultValue . replace ( / " / g, "" ) ,
477- } as TypeDoc . LiteralType ) } `,
478- `</InlineSection>` ,
479- ]
472+ `` ,
473+ `<InlineSection>` ,
474+ `**Default** ${ renderType ( {
475+ type : "literal" ,
476+ value : declaration . defaultValue . replace ( / " / g, "" ) ,
477+ } as TypeDoc . LiteralType ) } `,
478+ `</InlineSection>` ,
479+ ]
480480 : [ ] ,
481481 declaration . comment . blockTags
482482 . filter ( ( tag ) => tag . tag === "@default" )
You can’t perform that action at this time.
0 commit comments