Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 39a0f6e

Browse files
authored
Remove ts-ignores where no longer necessary (#89)
Signed-off-by: Michael Telatynski <[email protected]>
1 parent 36fae00 commit 39a0f6e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/BasePlatform.ts

-4
Original file line numberDiff line numberDiff line change
@@ -432,12 +432,8 @@ export default abstract class BasePlatform {
432432
redirectUris: [this.getOidcCallbackUrl().href],
433433
logoUri: config.oidc_metadata?.logo_uri ?? new URL("vector-icons/1024.png", this.baseUrl).href,
434434
applicationType: "web",
435-
// XXX: We break the spec by not consistently supplying these required fields
436-
// @ts-ignore
437435
contacts: config.oidc_metadata?.contacts,
438-
// @ts-ignore
439436
tosUri: config.oidc_metadata?.tos_uri ?? config.terms_and_conditions_links?.[0]?.url,
440-
// @ts-ignore
441437
policyUri: config.oidc_metadata?.policy_uri ?? config.privacy_policy_url,
442438
};
443439
}

0 commit comments

Comments
 (0)