You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type '{ filename: (_name: string, _ext: string, part: Part) => string; createDirsFromUploads: boolean; }' is not assignable to parameter of type 'Options'.
Object literal may only specify known properties, and 'createDirsFromUploads' does not exist in type 'Options'.ts(2345)
What result did you expect?
createDirsFromUploads should exist on type Options in order to be able to override option in a type safe way.
Support plan
Context
What are you trying to achieve or the steps to reproduce?
What was the result you got?
What result did you expect?
createDirsFromUploads should exist on type Options in order to be able to override option in a type safe way.
Current Workaround
Type coercion to
unknown
as followsthis silences the ts error without also causing the
no-explicit-type-any
eslint errorsThe text was updated successfully, but these errors were encountered: