install react type #179
Annotations
9 errors
build:
src/components/DropzoneArea.tsx#L192
Type '{ fileObjects: FileObject[]; onAdd: ((newFiles: FileObject[]) => void) | undefined; onDelete: ((deletedFileObject: FileObject, index: number) => void) | undefined; ... 29 more ...; onDropRejected?: ((rejectedFiles: File[], event: DropEvent) => void) | undefined; }' is not assignable to type 'IntrinsicAttributes & RefAttributes<unknown>'.
|
build:
src/components/DropzoneAreaBase.tsx#L469
Argument of type 'FileRejection' is not assignable to parameter of type 'File'.
|
build:
src/components/DropzoneAreaBase.tsx#L477
Argument of type 'FileRejection[]' is not assignable to parameter of type 'File[]'.
|
build:
src/components/DropzoneAreaBase.tsx#L609
Type 'string | undefined' is not assignable to type 'Accept | undefined'.
|
build:
src/components/DropzoneDialogBase.tsx#L21
Cannot find namespace 'JSX'.
|
build:
src/components/DropzoneDialogBase.tsx#L165
Type '{ classes?: Partial<DropzoneAreaBaseClasses> | undefined; acceptedFiles?: string[] | 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>'.
|
build:
src/components/PreviewList.tsx#L23
Cannot find namespace 'JSX'.
|
build:
src/withTheme.tsx#L7
Argument of type '(props: WithoutTheme<P>, ref: any) => Element' is not assignable to parameter of type 'ForwardRefRenderFunction<unknown, PropsWithoutRef<P>>'.
|
build
Process completed with exit code 1.
|