Type looks wrong?
See original GitHub issueHere’s the TS definition for the fileWriteStreamHandler
option. Note that the return type is void but the comments (and code examples concur) say to return a writeable stream. Am I missing something? Currently I can’t use it, unless I cast the type of the function but before I do that I want to know if I’m misunderstanding.
/**
* which by default writes to host machine file system every file parsed; The function should
* return an instance of a Writable stream that will receive the uploaded file data. With this
* option, you can have any custom behavior regarding where the uploaded file data will be
* streamed for. If you are looking to write the file uploaded in other types of cloud storages
* (AWS S3, Azure blob storage, Google cloud storage) or private file storage, this is the option
* you're looking for. When this option is defined the default behavior of writing the file in the
* host machine file system is lost.
*
* @default null
*/
fileWriteStreamHandler?: (() => void) | undefined;
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Font nightmare. Formatted the same but looks different in ...
I am trying to figure out why different paragraphs throughout a document look like a different font even though they are formatted the...
Read more >why do my linetypes look wrong - Civil 3D - Autodesk Forums
Solved: I have a FENCE linetype that isn't quite right. i've attached my drawing and linetype file. The corners don't always meet up...
Read more >Fix text that isn't displaying properly - Google Chrome Help
Text looks fuzzy or blurry (Windows only). If text doesn't look clear on your computer, try changing your font settings. Step 1: Use...
Read more >What causes the phenomenon where a familiar word ... - Quora
When Even the Simplest Word Looks Weird And Wrong You Have Wordnesia. Truth is, we are largely on “autopilot” when reading, etc…
Read more >The 8 biggest typography mistakes designers make
Type might look simple, but it's still possible to get it very wrong. Here are 8 common pitfalls to avoid.
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 Free
Top 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
Version 2.0.1 of @types/formidable is available @pierznj. Good luck!
PR is up! Might take some time before it’s reviewed, merged, and released. So a bit of patience please 😃