Skip to content

Commit a21e93e

Browse files
committed
Revert "improve tslint usage"
This reverts commit 179dcbc
1 parent b1794b9 commit a21e93e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"scripts": {
1818
"prepublish": "npm run build",
1919
"build": "npm run tslint && tsc",
20-
"tslint": "tslint --project tsconfig.json --config tslint.json",
20+
"tslint": "tslint src/*",
2121
"test:debug": "karma start",
2222
"test": "karma start --single-run"
2323
},

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ export namespace httpclient {
275275
* nested filters. So it contains an array of filter and its doFilter loops through all its filters
276276
* before continuing with the main chain of filters
277277
*/
278-
doFilter (call: Request, filterChain: FilterChain<any>): Promise<Response<any>> {
278+
doFilter (call: httpclient.Request, filterChain: httpclient.FilterChain<any>): Promise<httpclient.Response<any>> {
279279
return new FilterChainImpl(this.filters, 0, request => filterChain.doFilter(request)).doFilter(call)
280280
}
281281
}

0 commit comments

Comments
 (0)