From 06952bc3d48f83faaacd44be41ba7fcae29a0148 Mon Sep 17 00:00:00 2001 From: Daniel Barion Date: Tue, 3 Dec 2024 16:05:51 -0300 Subject: [PATCH] fix: remove ts-ignore from D.O page --- docs/react-app-env.d.ts | 5 +++++ docs/src/pages/blog/digital-ocean-app-platform.tsx | 8 -------- 2 files changed, 5 insertions(+), 8 deletions(-) create mode 100644 docs/react-app-env.d.ts diff --git a/docs/react-app-env.d.ts b/docs/react-app-env.d.ts new file mode 100644 index 00000000..5afd2510 --- /dev/null +++ b/docs/react-app-env.d.ts @@ -0,0 +1,5 @@ +declare module '*.png' +declare module '*.svg' +declare module '*.jpeg' +declare module '*.jpg' +declare module '*.webp' diff --git a/docs/src/pages/blog/digital-ocean-app-platform.tsx b/docs/src/pages/blog/digital-ocean-app-platform.tsx index 82afc92e..a8ab6e90 100644 --- a/docs/src/pages/blog/digital-ocean-app-platform.tsx +++ b/docs/src/pages/blog/digital-ocean-app-platform.tsx @@ -2,21 +2,13 @@ /* eslint-disable import/no-unresolved */ import React from 'react' import Layout from '@theme/Layout' -// @ts-ignore import DigitalOceanBanner from '@site/static/img/digital-ocean-banner.webp' -// @ts-ignore import DigitalOceanLogin from '@site/static/img/digital-ocean-login.webp' -// @ts-ignore import DigitalOceanCreateApp from '@site/static/img/digital-ocean-create-app.webp' -// @ts-ignore import DigitalOceanAppConfig1 from '@site/static/img/digital-ocean-app-config-1.png' -// @ts-ignore import DigitalOceanAppConfig2 from '@site/static/img/digital-ocean-app-config-2.png' -// @ts-ignore import DigitalOceanStaticSite from '@site/static/img/digital-ocean-static-site.png' -// @ts-ignore import DigitalOceanCreateResource from '@site/static/img/digital-ocean-create-resource.png' -// @ts-ignore import { Tooltip } from 'react-tooltip' export default function Home(): JSX.Element {