Installation
npm install --save @types/angular-http-auth
Summary
This package contains type definitions for angular-http-auth (https://github.com/witoldsz/angular-http-auth).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-http-auth.
index.d.ts
/// <reference types="angular" />
import * as ng from "angular";
declare module "angular" {
export namespace httpAuth {
interface IAuthService {
loginConfirmed(data?: any, configUpdater?: Function): void;
loginCancelled(data?: any, reason?: any): void;
}
interface IHttpBuffer {
append(config: ng.IRequestConfig, deferred: { resolve(data: any): void; reject(data: any): void }): void;
rejectAll(reason?: any): void;
retryAll(updater?: Function): void;
}
}
}
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:04 GMT
- Dependencies: @types/angular
Credits
These definitions were written by vvakame.