HttpClientResponse error on build typescript 2.4.1
Category
- [ ] Question
- [x] Typo
- [x] Bug
- [ ] Additional article idea
Using typescript 2.4.1 it gives an error:
node_modules\@microsoft\sp-http\lib\httpClient\HttpClientResponse.d.ts(14,21): error TS2420: Class 'HttpClientResponse' incorrectly implements interface 'Response'.
Because of different types of field "type".
Class field:
readonly type: string;
Interface field:
readonly type: ResponseType;
If in class field type change to "ResponseType" error disappears.
Thank you for the feedback. At this time 2.4.1 is not supported. We are doing work to make this happen but we do not have a timeline yet.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues