fix(keycloak.d.ts): class cannot extend interface

This commit is contained in:
Simon Legner 2020-06-22 17:04:33 +02:00 committed by Stan Silvert
parent 55291bad76
commit 3c0ecefacc

View file

@ -238,7 +238,7 @@ declare namespace Keycloak {
type KeycloakPromiseCallback<T> = (result: T) => void; type KeycloakPromiseCallback<T> = (result: T) => void;
class KeycloakPromise<TSuccess, TError> extends Promise<TSuccess> { interface KeycloakPromise<TSuccess, TError> extends Promise<TSuccess> {
/** /**
* Function to call if the promised action succeeds. * Function to call if the promised action succeeds.
* *