Re-export as namespace for UMD compatibility

This commit is contained in:
Jon Koops 2022-02-16 19:47:09 +01:00 committed by Bruno Oliveira da Silva
parent c7ede9971b
commit 1372ab82d3
2 changed files with 10 additions and 0 deletions

View file

@ -119,3 +119,8 @@ export default class KeycloakAuthorization {
*/ */
entitlement(resourceServerId: string, authorizationRequest?: AuthorizationRequest): KeycloakAuthorizationPromise; entitlement(resourceServerId: string, authorizationRequest?: AuthorizationRequest): KeycloakAuthorizationPromise;
} }
/**
* @deprecated The 'KeycloakAuthorization' namespace is deprecated, use named imports instead.
*/
export as namespace KeycloakAuthorization;

View file

@ -614,3 +614,8 @@ export default class Keycloak {
*/ */
loadUserInfo(): KeycloakPromise<{}, void>; loadUserInfo(): KeycloakPromise<{}, void>;
} }
/**
* @deprecated The 'Keycloak' namespace is deprecated, use named imports instead.
*/
export as namespace Keycloak;