Skip to content

Commit 08da87f

Browse files
Added responseType to angular2 api base service
1 parent 0cd835f commit 08da87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ApiBase/api-base.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface HttpOptions {
1616
[param: string]: string | string[];
1717
};
1818
reportProgress?: boolean;
19-
responseType?: any;
19+
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
2020
withCredentials?: boolean;
2121
}
2222

0 commit comments

Comments
 (0)