Skip to content

Commit

Permalink
chore: Downgrade TS
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Jan 13, 2025
1 parent 78da5b5 commit 79eac33
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion app/components/chart-panel-layout-tall.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type ChartPanelLayoutTallRow = {
}
);

export const getChartPanelLayoutTallRows = ({
const getChartPanelLayoutTallRows = ({
blocks,
renderBlock,
}: ChartPanelLayoutTypeProps): ChartPanelLayoutTallRow[] => {
Expand Down
3 changes: 0 additions & 3 deletions app/themes/federal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export const theme = createTheme({
primary: {
light: "#d8e8ef",
main: "#006699",
// @ts-expect-error it works
hover: "#004B70",
active: "#00334D",
disabled: "#599cbd",
Expand All @@ -47,15 +46,13 @@ export const theme = createTheme({
},
secondary: {
main: "#757575",
// @ts-expect-error it works
hover: "#616161",
active: "#4F4F4F",
disabled: "#A5A5A5",
},
success: {
main: "#3c763d",
light: "#DFF0D8",
// @ts-expect-error it works
hover: "#3c763d",
active: "#3c763d",
disabled: "#DFF0D8",
Expand Down
1 change: 0 additions & 1 deletion app/themes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ declare module "@mui/material" {
}

declare module "@mui/material" {
// @ts-expect-error it works
interface PaletteColorOptions {
light?: string;
main: string;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"rollup-plugin-terser": "^7.0.2",
"storybook": "^7.6.17",
"tsx": "^4.19.2",
"typescript": "5.7.2"
"typescript": "4"
},
"workspaces": [
".",
Expand Down
13 changes: 4 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25259,21 +25259,16 @@ typescript-lru-cache@^2.0.0:
resolved "https://registry.yarnpkg.com/typescript-lru-cache/-/typescript-lru-cache-2.0.0.tgz#d4ad0f071ab51987b088a57c3c502d7dd62dee07"
integrity sha512-Jp57Qyy8wXeMkdNuZiglE6v2Cypg13eDA1chHwDG6kq51X7gk4K7P7HaDdzZKCxkegXkVHNcPD0n5aW6OZH3aA==

typescript@5.7.2:
version "5.7.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2.tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6"
integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==
typescript@4, typescript@^4.0.0, typescript@^4.9.5:
version "4.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==

typescript@^3.9.10, typescript@^3.9.7:
version "3.9.10"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"
integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==

typescript@^4.0.0, typescript@^4.9.5:
version "4.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==

typewise-core@^1.2, typewise-core@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/typewise-core/-/typewise-core-1.2.0.tgz#97eb91805c7f55d2f941748fa50d315d991ef195"
Expand Down

0 comments on commit 79eac33

Please sign in to comment.