Skip to content

Commit

Permalink
fix(index.d.ts): Update TS file
Browse files Browse the repository at this point in the history
  • Loading branch information
googol authored and Khaledgarbaya committed Apr 21, 2017
1 parent c82c522 commit 721f4ae
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
// Type definitions for contentful
// Definitions by: Miika Hänninen <https://github.com/googol>

export interface AxiosProxyConfig {
host: string;
port?: number;
auth?: {
username: string;
password: string;
};
}

export interface CreateClientParams {
space: string;
accessToken: string;
insecure?: boolean;
host?: string;
agent?: any;
httpAgent?: any;
httpsAgent?: any;
proxy?: AxiosProxyConfig;
headers?: any;
resolveLinks?: boolean;
}
Expand Down

0 comments on commit 721f4ae

Please sign in to comment.