Skip to content

use typescript-eslint and fix some lint issues #175

use typescript-eslint and fix some lint issues

use typescript-eslint and fix some lint issues #175

Triggered via push February 4, 2025 11:53
Status Failure
Total duration 54s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: src/components/DropzoneArea.tsx#L2
Could not find a declaration file for module 'react'. '/home/runner/work/mui2-file-dropzone/mui2-file-dropzone/node_modules/react/index.js' implicitly has an 'any' type.
build: src/components/DropzoneArea.tsx#L95
Property 'props' does not exist on type 'DropzoneArea'.
build: src/components/DropzoneArea.tsx#L98
Property 'setState' does not exist on type 'DropzoneArea'.
build: src/components/DropzoneArea.tsx#L103
Property 'props' does not exist on type 'DropzoneArea'.
build: src/components/DropzoneArea.tsx#L113
Property 'props' does not exist on type 'DropzoneArea'.
build: src/components/DropzoneArea.tsx#L117
Parameter 'initialFile' implicitly has an 'any' type.
build: src/components/DropzoneArea.tsx#L131
Property 'setState' does not exist on type 'DropzoneArea'.
build: src/components/DropzoneArea.tsx#L144
Property 'props' does not exist on type 'DropzoneArea'.
build: src/components/DropzoneArea.tsx#L147
Property 'setState' does not exist on type 'DropzoneArea'.
build: src/components/DropzoneArea.tsx#L168
Property 'props' does not exist on type 'DropzoneArea'.