diff --git a/server/utils/assessments/getSections.test.ts b/server/utils/assessments/getSections.test.ts index c4e8551b0..9bbe123c4 100644 --- a/server/utils/assessments/getSections.test.ts +++ b/server/utils/assessments/getSections.test.ts @@ -3,6 +3,7 @@ import Assess from '../../form-pages/assess' import { applicationFactory, assessmentFactory } from '../../testutils/factories' import getSections from './getSections' import isAssessment from './isAssessment' +import { Task } from '@approved-premises/ui' jest.mock('../../form-pages/apply', () => { return { @@ -21,7 +22,7 @@ jest.mock('../../form-pages/apply', () => { { title: 'Check your answers', name: 'CheckYourAnswers', - tasks: [], + tasks: [] as Array, }, ], } diff --git a/tsconfig.json b/tsconfig.json index f38271d35..de6525b81 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,6 @@ "moduleResolution": "node", "outDir": "./dist", "sourceMap": true, - "suppressImplicitAnyIndexErrors": true, "skipLibCheck": true, "noEmit": false, "allowJs": true,