Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug Report: Warning: 'xx' is defined but never used. no-unused-vars #432

Closed
droplinxuser opened this issue Mar 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@droplinxuser
Copy link

馃憻 Reproduction steps

I got several of these when building the app.

Linting and checking validity of types  ...DeprecationWarning: 'originalKeywordKind' has been deprecated since v5.0.0 and will no longer be usable after v5.2.0. Use 'identifierToKeywordKind(identifier)' instead.

./src/components/admin/configuration/AdminConfigInput.tsx
17:26  Warning: 'variable' is defined but never used.  no-unused-vars

./src/components/admin/users/ManageUserTable.tsx
6:28  Warning: 'useIntl' is defined but never used.  no-unused-vars
16:16  Warning: 'user' is defined but never used.  no-unused-vars

./src/components/header/ActionAvatar.tsx
6:28  Warning: 'useIntl' is defined but never used.  no-unused-vars

./src/components/share/FileSizeInput.tsx
15:14  Warning: 'number' is defined but never used.  no-unused-vars

./src/components/share/showEnterPasswordModal.tsx
11:20  Warning: 'password' is defined but never used.  no-unused-vars
26:20  Warning: 'password' is defined but never used.  no-unused-vars

./src/components/upload/Dropzone.tsx
44:35  Warning: 'files' is defined but never used.  no-unused-vars

./src/components/upload/EditableUpload.tsx
2:10  Warning: 'useModals' is defined but never used.  no-unused-vars
10:8  Warning: 'showCompletedUploadModal' is defined but never used.  no-unused-vars

./src/components/upload/FileList.tsx
71:14  Warning: 'files' is defined but never used.  no-unused-vars

./src/components/upload/modals/showCreateUploadModal.tsx
45:20  Warning: 'createShare' is defined but never used.  no-unused-vars
45:46  Warning: 'files' is defined but never used.  no-unused-vars
67:20  Warning: 'createShare' is defined but never used.  no-unused-vars
67:46  Warning: 'files' is defined but never used.  no-unused-vars

馃憤 Expected behavior

I'd suppose no errors like that would output? :)

馃憥 Actual Behavior

Some errors are already included above.
But it works fine as expected.

馃寪 Browser

CLI

@droplinxuser droplinxuser added the bug Something isn't working label Mar 25, 2024
@stonith404
Copy link
Owner

These warnings are related to TypeScript and can be safely ignored :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants