Skip to content

Commit

Permalink
Update typings
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyissillyyy committed Oct 1, 2018
1 parent baa8c7d commit e7e374f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-superfetch",
"version": "0.1.7",
"version": "0.1.8",
"description": "A wrapper for node-fetch that makes it appear like superagent.",
"main": "index.js",
"typings": "typings/index.d.ts",
Expand Down Expand Up @@ -35,9 +35,11 @@
"node-fetch": "^2.2.0"
},
"devDependencies": {
"@types/node": "^10.11.3",
"eslint": "^5.6.1",
"eslint-config-amber": "^1.1.0",
"eslint-plugin-json": "^1.2.1"
"eslint-plugin-json": "^1.2.1",
"typescript": "^3.1.1"
},
"eslintConfig": {
"extends": "amber",
Expand Down
1 change: 1 addition & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ declare class Request extends Promise<Response> {

public send(body: RequestBody, raw?: boolean): this;
public redirects(amount: number): this;
public agent(agent: Agent): this;

protected _request(): Promise<Response>;
}
Expand Down

0 comments on commit e7e374f

Please sign in to comment.