Hi.
E.g. I searched for createReadStream occurrences in Apollo sources, but didn't find any mentions for it in d.ts files.
Most likely it should be something like:
interface Upload {
filename: string;
mimetype: string;
encoding: string;
createReadStream: () => Stream;
}
@dko-slapdash
You can get it from the FileUpload type from graphql-upload which I think is the underlying implementation..
This can be closed. @rheaditi is correct.
Most helpful comment
@dko-slapdash
You can get it from the
FileUploadtype fromgraphql-uploadwhich I think is the underlying implementation..