diff --git a/src/components/ActionBar/ActionBar.tsx b/src/components/ActionBar/ActionBar.tsx index fb6f2d98a..79db69336 100644 --- a/src/components/ActionBar/ActionBar.tsx +++ b/src/components/ActionBar/ActionBar.tsx @@ -70,7 +70,6 @@ class ActionBar extends Component { } private renderActionBar = ({ packageMeta }) => { - // @ts-ignore const { latest } = packageMeta; if (!latest) { diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index 97b7ea604..dc556a179 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -184,7 +184,6 @@ class Header extends Component { switch (type) { case 'help': content = ( - // @ts-ignore diff --git a/src/components/Icon/Icon.tsx b/src/components/Icon/Icon.tsx index 4c603c9ce..4bcefb7fa 100644 --- a/src/components/Icon/Icon.tsx +++ b/src/components/Icon/Icon.tsx @@ -65,14 +65,12 @@ export interface Props { } const Icon: React.FC = ({ className, name, size = 'sm', img = false, pointer = false, ...props }) => { - // @ts-ignore - const title = capitalize(name); + const title = capitalize(name.toString()); return img ? ( {title} ) : ( - // @ts-ignore {title} diff --git a/src/components/Package/Package.tsx b/src/components/Package/Package.tsx index bcbb4a564..be749ba92 100644 --- a/src/components/Package/Package.tsx +++ b/src/components/Package/Package.tsx @@ -150,7 +150,6 @@ const Package: React.FC = ({ }; const renderSecondaryComponent = (): React.ReactNode => { - // @ts-ignore const tags = keywords.sort().map((keyword, index) => {keyword}); return ( <>