Remove more unused disable directives

This commit is contained in:
Ian VanSchooten 2022-09-06 23:14:42 -04:00
parent 6bdfcfad14
commit ae6b1a6c95
2 changed files with 0 additions and 4 deletions

View File

@ -2,7 +2,6 @@
import { setCompodocJson } from '@storybook/addon-docs/angular';
import addCssWarning from '../src/cssWarning';
// @ts-expect-error (Converted from ts-ignore)
import docJson from '../documentation.json';
// remove ButtonComponent to test #12009
const filtered = !docJson?.components

View File

@ -15,7 +15,6 @@ export const ButtonReactFC: React.FC<ButtonProps> = ({ onClick, children }) => (
<button onClick={onClick}>{children}</button>
);
ButtonReactFC.defaultProps = {
// @ts-expect-error (Converted from ts-ignore)
onClick: null,
};
@ -26,7 +25,6 @@ export const ButtonFC: FC<ButtonProps> = ({ onClick, children }) => (
<button onClick={onClick}>{children}</button>
);
ButtonFC.defaultProps = {
// @ts-expect-error (Converted from ts-ignore)
onClick: null,
};
@ -37,6 +35,5 @@ export const ButtonFunctionComponent: FC<ButtonProps> = ({ onClick, children })
<button onClick={onClick}>{children}</button>
);
ButtonFunctionComponent.defaultProps = {
// @ts-expect-error (Converted from ts-ignore)
onClick: null,
};