add typescript support in svelte files, .js to .ts

This commit is contained in:
2025-06-10 11:05:23 +02:00
parent 2278b18f02
commit acef68dc26
37 changed files with 93 additions and 24 deletions

8
src/lib/minio.ts Normal file
View File

@@ -0,0 +1,8 @@
/** import Minio from 'minio'; */
import { Client } from 'minio';
import config from '$lib/config';
/** process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0'; */
/** export const client = new Minio.Client(config.minio); */
export const client = new Client(config.minio);