Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit c35d6de

Browse files
committed
chore: fix lint errors
1 parent 382c254 commit c35d6de

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/client.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -972,9 +972,10 @@ export class KeycloakClient implements KeycloakInstance {
972972
}
973973

974974
try {
975-
const oidcProviderConfig = await this.adapter!.fetchOIDCProviderConfigJSON(
976-
oidcProviderConfigUrl
977-
);
975+
const oidcProviderConfig =
976+
await this.adapter!.fetchOIDCProviderConfigJSON(
977+
oidcProviderConfigUrl
978+
);
978979

979980
this.endpoints = setupOidcEndoints({
980981
oidcConfiguration: oidcProviderConfig,

src/utils/keycloak.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import {
1212
formatQuerystringParameters,
1313
} from './url';
1414

15-
function fromEntries<T>(
16-
iterable: IterableIterator<[string, T]>
17-
): { [key: string]: T } {
15+
function fromEntries<T>(iterable: IterableIterator<[string, T]>): {
16+
[key: string]: T;
17+
} {
1818
return [...iterable].reduce<{ [key: string]: T }>(
1919
(obj, [key, val]) => ({
2020
...obj,

0 commit comments

Comments
 (0)