Re-export as namespace for UMD compatibility
This commit is contained in:
parent
c7ede9971b
commit
1372ab82d3
2 changed files with 10 additions and 0 deletions
5
adapters/oidc/js/dist/keycloak-authz.d.ts
vendored
5
adapters/oidc/js/dist/keycloak-authz.d.ts
vendored
|
@ -119,3 +119,8 @@ export default class KeycloakAuthorization {
|
|||
*/
|
||||
entitlement(resourceServerId: string, authorizationRequest?: AuthorizationRequest): KeycloakAuthorizationPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated The 'KeycloakAuthorization' namespace is deprecated, use named imports instead.
|
||||
*/
|
||||
export as namespace KeycloakAuthorization;
|
||||
|
|
5
adapters/oidc/js/dist/keycloak.d.ts
vendored
5
adapters/oidc/js/dist/keycloak.d.ts
vendored
|
@ -614,3 +614,8 @@ export default class Keycloak {
|
|||
*/
|
||||
loadUserInfo(): KeycloakPromise<{}, void>;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated The 'Keycloak' namespace is deprecated, use named imports instead.
|
||||
*/
|
||||
export as namespace Keycloak;
|
||||
|
|
Loading…
Reference in a new issue