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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS Error Cleanup: Miscellaneous #10454

Open
22 tasks
akuny opened this issue Aug 6, 2024 · 0 comments
Open
22 tasks

TS Error Cleanup: Miscellaneous #10454

akuny opened this issue Aug 6, 2024 · 0 comments
Labels
4 (dx/ox) Medium-High Priority Devex/Opex

Comments

@akuny
Copy link
Collaborator

akuny commented Aug 6, 2024

TS2349: This expression is not callable.

  • web-api/src/lambdas/migration/migration-segments.ts
  • web-client/src/views/CaseListTable.tsx

TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.

  • web-api/src/logger.ts
  • web-client/src/presenter/actions/setProgressForFileUploadAction.ts

TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.

  • web-client/src/presenter/actions/setProgressForFileUploadAction.ts

TS2417: Class static side 'typeof <something>' incorrectly extends base class static side 'typeof <something else>'.

  • shared/src/business/entities/IrsPractitioner.ts
  • shared/src/business/entities/Practitioner.ts

TS2454: Variable 'clinicLetterKey' is used before being assigned.

  • shared/src/business/utilities/shouldAppendClinicLetter.ts

TS2488: Type '<type>' must have a '[Symbol.iterator]()' method that returns an iterator.

  • web-api/src/business/useCases/user/updateAssociatedCaseWorker.ts
  • web-client/src/presenter/sequences/loadMorePendingItemsSequence.ts

TS2783: '<something>' is specified more than once, so this usage will be overwritten.

  • web-api/src/business/useCases/user/updatePetitionerInformationInteractor.ts

TS2790: The operand of a 'delete' operator must be optional.

  • web-api/src/business/useCaseHelper/consolidatedCases/formatPublicCase.test.ts
  • web-client/src/persistence/dynamsoft/getScannerInterface.test.ts
  • web-client/src/presenter/actions/CaseDetail/getIsOnCaseDetailAction.test.ts
  • web-client/src/presenter/actions/setUserAction.test.ts

TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?

  • web-client/src/presenter/actions/PDFPreviewModal/loadPdfAction.ts

TS2783: '<something>' is specified more than once, so this usage will be overwritten.

  • web-api/src/business/useCases/user/updatePetitionerInformationInteractor.ts

TS2790: The operand of a 'delete' operator must be optional.

  • web-api/src/business/useCaseHelper/consolidatedCases/formatPublicCase.test.ts
  • web-client/src/persistence/dynamsoft/getScannerInterface.test.ts
  • web-client/src/presenter/actions/CaseDetail/getIsOnCaseDetailAction.test.ts
  • web-client/src/presenter/actions/setUserAction.test.ts

TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?

  • web-client/src/presenter/actions/PDFPreviewModal/loadPdfAction.ts
@akuny akuny added the 4 (dx/ox) Medium-High Priority Devex/Opex label Aug 20, 2024
@TomElliottFlexion TomElliottFlexion added migration do not use and removed migration do not use labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 (dx/ox) Medium-High Priority Devex/Opex
Projects
Status: Devex/Opex
Development

No branches or pull requests

2 participants