Trying to use this library and setting noUncheckedIndexedAccess to true in tsconfig.json will result in compilation errors.
I'm not sure why typescript keeps checking node_modules library when I have skipLibCheck: true so I've decided to make fastify-multer more compliant with a stricter typescript settings. This PR doesn't affect the functionality.
Trying to use this library and setting
noUncheckedIndexedAccess
totrue
intsconfig.json
will result in compilation errors.I'm not sure why typescript keeps checking node_modules library when I have
skipLibCheck: true
so I've decided to make fastify-multer more compliant with a stricter typescript settings. This PR doesn't affect the functionality.You can see docs for this option here https://devblogs.microsoft.com/typescript/announcing-typescript-4-1-beta/#no-unchecked-indexed-access