Remove the `: any` annotations in 5 files of modules/spreadsheet-import

Merged
TW
2d ago
+14-11

Replaces : any annotations with real types, following the standard's typing rules, without changing behaviour.

  • packages/twenty-front/src/modules/spreadsheet-import/types/SpreadsheetImportFieldValidationDefinition.ts: 1 on line 33
  • packages/twenty-front/src/modules/spreadsheet-import/steps/types/SpreadsheetImportStep.ts: 1 on line 25
  • packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/UploadStep.tsx: 2 on lines 16, 19
  • packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx: 2 on line 161
  • packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/components/columns.tsx: 4 on lines 89, 138, 169

Checked: every change is within these findings and the topic's size cap, and the topic's own check passed for each.

5 changed files
  • packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/UploadStep.tsx
  • packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
  • packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/components/columns.tsx
  • packages/twenty-front/src/modules/spreadsheet-import/steps/types/SpreadsheetImportStep.ts
  • packages/twenty-front/src/modules/spreadsheet-import/types/SpreadsheetImportFieldValidationDefinition.ts

Opened by twenty-factory auto-chores · topic no-explicit-any · close without merging to decline these findings for good.