add RejectionFile type #185
Annotations
7 errors
Install dependencies:
src/components/DropzoneArea.tsx#L192
Type '{ fileObjects: FileObject[]; onAdd: ((newFiles: FileObject[]) => void) | undefined; onDelete: ((deletedFileObject: FileObject, index: number) => void) | undefined; ... 29 more ...; onDropRejected?: ((rejectedFiles: FileRejection[], event: DropEvent) => void) | undefined; }' is not assignable to type 'IntrinsicAttributes & RefAttributes<unknown>'.
|
Install dependencies:
src/components/DropzoneAreaBase.tsx#L470
Argument of type 'never[] | Accept' is not assignable to parameter of type 'string[]'.
|
Install dependencies:
src/components/DropzoneDialogBase.tsx#L21
Cannot find namespace 'JSX'.
|
Install dependencies:
src/components/DropzoneDialogBase.tsx#L165
Type '{ classes?: Partial<DropzoneAreaBaseClasses> | undefined; acceptedFiles?: Accept | undefined; filesLimit?: number | undefined; fileObjects: FileObject[]; ... 29 more ...; getPreviewIcon?: ((fileObject: FileObject, classes: { ...; } | undefined) => JSX.Element) | undefined; }' has no properties in common with type 'IntrinsicAttributes & RefAttributes<unknown>'.
|
Install dependencies:
src/components/PreviewList.tsx#L23
Cannot find namespace 'JSX'.
|
Install dependencies:
src/withTheme.tsx#L7
Argument of type '(props: WithoutTheme<P>, ref: any) => Element' is not assignable to parameter of type 'ForwardRefRenderFunction<unknown, PropsWithoutRef<P>>'.
|
Install dependencies
Process completed with exit code 1.
|
Loading