Skip to content

Commit

Permalink
After tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasOsti committed Nov 29, 2024
1 parent c8b6d52 commit a5b05b7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"prettier": "eslint-config-ibexa/prettier",
"dependencies": {},
"devDependencies": {
"eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#IBX-9109-enabling-typescript"
"eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#IBX-9109-enabling-typescript",
"@ibexa/ts-config": "https://github.com/ibexa/ts-config-ibexa#IBX-9109-enabling-typescript"
},
"scripts": {
"test": "yarn prettier-test && yarn eslint-test",
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/public/ts/admin.search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
return;
}

const submitForm = () => {
const submitForm = (): null => {
searchInput.value = headerSearchInput.value;
searchForm.submit();
};
Expand Down
4 changes: 2 additions & 2 deletions src/bundle/ui-dev/src/modules/common/thumbnail/thumbnail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React from 'react';
import Icon from '../icon/icon';
import ThumbnailProps from './thumbnail.types';

const Thumbnail = ({ thumbnailData, iconExtraClasses, contentTypeIconPath }: ThumbnailProps) => {
const renderContentTypeIcon = (): JSX.Element | null => {
const Thumbnail = ({ thumbnailData, iconExtraClasses, contentTypeIconPath }: ThumbnailProps): JSX.HTMLDivElement => {
const renderContentTypeIcon = (): JSX.HTMLDivElement => {
if (!contentTypeIconPath) {
return null;
}
Expand Down
4 changes: 4 additions & 0 deletions tseslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "@ibexa/ts-config",
"include": ["/**/src/bundle/**/*"]
}

0 comments on commit a5b05b7

Please sign in to comment.