Skip to content

Commit

Permalink
rolling back tsconfig changes implementing
Browse files Browse the repository at this point in the history
  • Loading branch information
snmln committed Nov 26, 2024
1 parent e4e1f20 commit 4d30219
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/scripts/components/common/cookie-consent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export const CookieConsent = ({
>
<Icon.Close
size={3}
// @ts-expect-error css is not assignable to type 'IntrinsicAttributes & USWDSIconProps & SVGProps<SVGSVGElement>'.
css={css`
${transitionSettings}
${themeValueCheck(theme?.iconColor?.default) &&
Expand All @@ -177,6 +178,7 @@ export const CookieConsent = ({

{copy && (
<div
// @ts-expect-error css does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'
css={css`
${themeValueCheck(theme?.card?.textColor) &&
`color: ` + theme?.card?.textColor};
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"declaration": true,
"baseUrl": "./",
"jsx": "react",
"types": ["@emotion/react/types/css-prop"],
"paths": {
"$components/*": ["app/scripts/components/*"],
"$styles/*": ["app/scripts/styles/*"],
Expand Down

0 comments on commit 4d30219

Please sign in to comment.