Export FileUploadHandlerOptions
type
#9131
tryonelove
started this conversation in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I wanted to create a simple wrapper around
unstable_createFileUploadHandler
to accept a flag to either throw or not onMaxPartSizeExceededError
.Unfortunately, the
FileUploadHandlerOptions
type is not exported from the@remix-run/node
package.So, my suggestion is to export that type, since it's public API of the
createFileUploadHandler
.This will allow us to:
a) Extend the options (for my use case)
b) Create these options elsewhere and in the way client wants (factories, custom builders, etc.)
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions