fix!(icons/app): removing the global ignore
- Changing the ts-ignore by ts-execpt-error because safer and more specific
This commit is contained in:
parent
d5e7f57ef2
commit
6f42fe6929
1 changed files with 2 additions and 2 deletions
|
|
@ -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 });
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue