Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: support noUncheckedIndexedAccess #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lynxtaa
Copy link
Contributor

@lynxtaa lynxtaa commented Jan 21, 2021

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.

You can see docs for this option here https://devblogs.microsoft.com/typescript/announcing-typescript-4-1-beta/#no-unchecked-indexed-access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant