Comments (4)
Hello. Do u solve this problem?
from fastify-file-upload.
the dirty way to solve that problem is by using ts-ignore to ignore the const files = req.raw.files
line
I couldn't find a proper way to solve it yet
from fastify-file-upload.
Same problem here.
from fastify-file-upload.
try to add this in code
declare module 'http' {
interface IncomingMessage {
files: {
[key: string]: {
name: string;
data: Buffer;
size: number;
encoding: string;
tempFilePath: string;
truncated: boolean;
mimetype: string;
md5: string;
mv: () => void;
};
};
}
}
from fastify-file-upload.
Related Issues (15)
- How to specify witch path I want to upload the file? HOT 2
- 在 Content-Length 和文件不一致时会引起程序崩溃 Cannot read property 'originalUrl' of null
- TypeScript support HOT 1
- BUG HOT 7
- Clean exit HOT 4
- Upload file before jwt verify HOT 1
- 4.0.0有BUG body中的字段和raw.files中的字段相同时, body中的字段会被覆盖造成数据丢失
- How to use schemas with file "fastify-file-upload"? HOT 4
- Action required: Greenkeeper could not be activated 🚨
- how to know if upload progress is fail, broken or corrupted?
- Missing data in body (ignored other values to files) HOT 3
- fastify-file-upload - expected '>=3.0.0' fastify version
- Unable to receive file data HOT 1
- request files - array or array array HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastify-file-upload.