Closed etodanik closed 3 years ago
Using FormData with node-fetch@3.0.0 results in the following error:
FormData
node-fetch@3.0.0
error TS2322: Type 'FormData' is not assignable to type 'BodyInit'. Property 'sort' is missing in type 'FormData' but required in type 'URLSearchParams'.
Hmm, FormData don't have a sort method... think this might be an issue with node-fetch
new URLSearchParams().sort exists but this formdata don't have anything to do with URLSearchParams...
new URLSearchParams().sort
Using
FormData
withnode-fetch@3.0.0
results in the following error: