TS Interface for FormData missing
See original GitHub issueI am trying to use mailgun.js with a TS project.
It seems like Interfaces for FormData are not imported in the index.d.ts
files.?
screenshots:
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Missing methods in FormData interface · Issue #14537 - GitHub
In general JS I can retrieve data set with append by calling getAll . This method is missing inside of the FormData interface...
Read more >Error TS2339: Property 'entries' does not exist on type ...
I run into this error while compiling my code with ng serve --watch . Error TS2339: Property 'entries' does not exist on type...
Read more >FormData in TypeScript - DEV Community
It turns out the fix for this is subtle - you need to specifically tell TypeScript you're going to be using this method...
Read more >FormData.entries() - Web APIs | MDN
The FormData.entries() method returns an iterator which iterates through all key/value pairs contained in the FormData.
Read more >form-data - npm
A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the
@types/node
installed already. It generates same TS errors.Looking at this closer you probably don’t have @types/node installed. FormData is coming from Nodejs Standard Library. Types for the Nodejs Standard Library come in the @types/node package.