0.0.36 • Published 3 months ago
@types/angular-httpi v0.0.36
Installation
npm install --save @types/angular-httpi
Summary
This package contains type definitions for angular-httpi (https://github.com/bennadel/httpi).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-httpi.
index.d.ts
// Type definitions for angular-httpi
// Project: https://github.com/bennadel/httpi
// Definitions by: Andrew Camilleri <https://github.com/Kukks>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="angular" />
declare namespace Httpi {
export interface HttpiPayload extends ng.IRequestShortcutConfig {
method?: string | undefined;
url?: string | undefined;
params?: {} | undefined;
data?: {} | undefined;
keepTrailingSlash?: boolean | undefined;
}
export interface HttpiFactory {
(config: HttpiPayload): ng.IHttpPromise<{}>;
resource(url: string): HttpiResource;
}
export class HttpiResource {
constructor(http: ng.IHttpService, url: string);
delete<T>(config: HttpiPayload): ng.IHttpPromise<T>;
get<T>(config: HttpiPayload): ng.IHttpPromise<T>;
head<T>(config: HttpiPayload): ng.IHttpPromise<T>;
jsonp<T>(config: HttpiPayload): ng.IHttpPromise<T>;
post<T>(config: HttpiPayload): ng.IHttpPromise<T>;
put<T>(config: HttpiPayload): ng.IHttpPromise<T>;
setKeepTrailingSlash(newKeepTrailingSlash: boolean): HttpiResource;
}
}
Additional Details
- Last updated: Wed, 07 Jul 2021 21:44:19 GMT
- Dependencies: @types/angular
- Global values:
Httpi
Credits
These definitions were written by Andrew Camilleri.
0.0.36
3 months ago
0.0.33
8 months ago
0.0.34
7 months ago
0.0.35
6 months ago
0.0.32
3 years ago
0.0.31
7 years ago
0.0.30
8 years ago
0.0.29
8 years ago
0.0.28-alpha
8 years ago
0.0.26-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.16-alpha
8 years ago
0.0.15-alpha
8 years ago