Skip to content

Commit

Permalink
chore: fixup "fix: ignore/resolve some random typescript warnings"
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Jan 16, 2025
1 parent d749203 commit 4b6082e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Bubble/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ const Bubble = React.forwardRef<HTMLDivElement, BubbleProps>(({
));

Bubble.propTypes = {
/** Specifies contents of the component. */ // @ts-ignore
/** Specifies contents of the component. */
// @ts-ignore
children: PropTypes.node,
/** The `Bubble` style variant to use. */
variant: PropTypes.oneOf(STYLE_VARIANTS),
Expand Down
3 changes: 2 additions & 1 deletion src/Chip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ const Chip = React.forwardRef(({
});

Chip.propTypes = {
/** Specifies the content of the `Chip`. */ // @ts-ignore
/** Specifies the content of the `Chip`. */
// @ts-ignore
children: PropTypes.node.isRequired,
/** Specifies an additional `className` to add to the base element. */
className: PropTypes.string,
Expand Down
3 changes: 2 additions & 1 deletion src/Hyperlink/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ Hyperlink.defaultProps = {
Hyperlink.propTypes = {
/** specifies the URL */
destination: PropTypes.string.isRequired,
/** Content of the hyperlink */ // @ts-ignore
/** Content of the hyperlink */
// @ts-ignore
children: PropTypes.node.isRequired,
/** Custom class names for the hyperlink */
className: PropTypes.string,
Expand Down

0 comments on commit 4b6082e

Please sign in to comment.