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 945d71d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 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
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 945d71d

Please sign in to comment.