Wrong documentation or miss understanding ?
See original GitHub issueHi! I was reading your documentation and there, you show that FileUpload interface is an interface with:
- filename: string;
- mimetype: string;
- encoding: string;
- createReadStream: FileUploadCreateReadStream However, on index.d.ts, you show that interface FileUpload consists of:
- filename: string;
- mimetype: string;
- encoding: string;
- createReadStream(): ReadStream
So, what happens ? When I try to do a stream like const stream = file.createReadStream()
, I have an exception like “file.createReadStream is not a function”.
package.json graphql-upload@^13.0.0 @types/graphql-upload@^8.0.7
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Nursing documentation: How to avoid the most common ...
Failure to date, time, and sign a medical entry. Lack of documentation for omitted medications and/or treatments. Incomplete or missing documentation.
Read more >MEDICAL ERRORS IN NURSING: PREVENTING ...
The importance of proper documentation in nursing cannot be overstated. Failure to document a patient's condition, medications administered, ...
Read more >Poor Documentation: Why It Happens and How to Fix It
In general, Stewart says poor documentation is defined as that which is lacking clarity, specificity, or completeness, and is of overall poor quality....
Read more >Handling documentation errors : Nursing2022 - Lippincott
First, learn and follow your facility's policies and procedures about charting errors. Many of us learned to place the word “error” near the...
Read more >Preventing Healthcare's Top Four Documentation Disasters
The best way to prevent a documentation disaster is by recognizing the most frequent kind of documentation errors and putting procedures in place...
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
Ok, thanks for the help, I will try do my best to replicate this. I’m using this with nestjs, I don’t know if it is the problem or not… But, no problem, I will figure this out.
Thanks a lot!
Closing because this problem couldn’t be reproduced, so there is nothing I can action from here. If you manage to put together a minimal project (vanilla Node.js, no TypeScript or other build tools) that demonstrates a specific bug in this
graphql-upload
package we can reopen and investigate further.