sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

HttpClientResponse error on build typescript 2.4.1

Open Hennadiy opened this issue 9 years ago • 2 comments

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.

Hennadiy avatar Jul 04 '17 14:07 Hennadiy

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.

GrahamMcMynn avatar Jul 05 '17 22:07 GrahamMcMynn

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

msft-github-bot avatar Jan 29 '20 06:01 msft-github-bot