From 6f42fe6929ea0c08aed3f2e3218bc8818c473721 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 28 Sep 2025 22:31:28 +0200 Subject: [PATCH] fix!(icons/app): removing the global ignore - Changing the ts-ignore by ts-execpt-error because safer and more specific --- src/icons/src/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/icons/src/app.ts b/src/icons/src/app.ts index 47ca618..1d4bb30 100644 --- a/src/icons/src/app.ts +++ b/src/icons/src/app.ts @@ -5,9 +5,9 @@ import { mkdir } from 'node:fs/promises'; import fp from 'fastify-plugin'; import * as db from '@shared/database'; -// @ts-ignore: import.meta.glob is a vite thing. Typescript doesn't know this... +// @ts-except-error: import.meta.glob is a vite thing. Typescript doesn't know this... const plugins = import.meta.glob('./plugins/**/*.ts', { eager: true }); -// @ts-ignore: import.meta.glob is a vite thing. Typescript doesn't know this... +// @ts-except-error: import.meta.glob is a vite thing. Typescript doesn't know this... const routes = import.meta.glob('./routes/**/*.ts', { eager: true });