pretenderjs / pretender

A mock server library with a nice routing DSL
MIT License
1.26k stars 158 forks source link

requestBody missing from types #292

Closed mfeckie closed 3 years ago

mfeckie commented 4 years ago

https://github.com/pretenderjs/pretender/blob/master/index.d.ts#L42-L45

Screenshot 2020-02-11 07 40 25

I think the 'correct' place to add it would be in ExtraRequestData, happy to do a PR if this is reasonable.

xg-wang commented 4 years ago

This should have been fixed in https://github.com/pretenderjs/FakeXMLHttpRequest/pull/48 Can you take a look what's your fake-xml-http-request version?