Skip to content

Commit

Permalink
Fixing types
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
florian-glombik and coderabbitai[bot] authored Aug 11, 2024
1 parent 95c02d2 commit 7998251
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export class ExerciseDetailDirective implements OnInit, OnDestroy {
[DetailType.Date]: DateDetailComponent,
[DetailType.Link]: LinkDetailComponent,
[DetailType.Boolean]: BooleanDetailComponent,
[DetailType.ProgrammingRepositoryButtons]: ProgrammingRepositoryButtonsDetailComponent,
const detailTypeToComponent: { [key in DetailType]?: Type<TextDetailComponent | DateDetailComponent | LinkDetailComponent | BooleanDetailComponent | ProgrammingRepositoryButtonsDetailComponent | ProgrammingAuxiliaryRepositoryButtonsDetailComponent> } = {

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests

':' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests

',' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests

Property assignment expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests

':' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests

Property destructuring pattern expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests

',' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests

Expression expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests

Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests

Unexpected token. A constructor, method, accessor, or property was expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-compilation

':' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-compilation

',' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-compilation

Property assignment expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-compilation

':' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-compilation

Property destructuring pattern expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-compilation

',' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-compilation

Expression expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-compilation

Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-compilation

Unexpected token. A constructor, method, accessor, or property was expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

':' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

',' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

Property assignment expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

':' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

Property destructuring pattern expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

',' expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

Expression expected.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses.

Check failure on line 33 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

Unexpected token. A constructor, method, accessor, or property was expected.
[DetailType.ProgrammingRepositoryButtons]: ProgrammingRepositoryButtonsDetailComponent,

Check failure on line 34 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests

';' expected.

Check failure on line 34 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-compilation

';' expected.

Check failure on line 34 in src/main/webapp/app/detail-overview-list/exercise-detail.directive.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

';' expected.
[DetailType.ProgrammingAuxiliaryRepositoryButtons]: ProgrammingAuxiliaryRepositoryButtonsDetailComponent,
};

Expand Down

0 comments on commit 7998251

Please sign in to comment.