Skip to content

Commit e040a01

Browse files
committed
explicitly declare type of body
1 parent 2cdb6b4 commit e040a01

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "0.1.0",
44
"scripts": {
55
"lint": "tslint src/**/*.ts",
6-
"test": "tsc && karma start",
6+
"test": "tsc --skipLibCheck && karma start",
77
"postinstall": "typings install",
8-
"prepublish": "tsc",
9-
"tsc": "tsc",
8+
"prepublish": "tsc --skipLibCheck",
9+
"tsc": "tsc --skipLibCheck",
1010
"typings": "typings"
1111
},
1212
"repository": {

src/abpHttp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export class AbpHttp extends Http {
236236
.catch(error => this.configuration.handleError(error));
237237
}
238238

239-
put(url: string, body, options?: RequestOptionsArgs): Observable<Response> {
239+
put(url: string, body: any, options?: RequestOptionsArgs): Observable<Response> {
240240
if (!options) { options = {}; }
241241
this.normalizeRequestOptions(options);
242242
return super

0 commit comments

Comments
 (0)