From d9313045edd9cd28893dd5618b5ded1a1cb1a4f5 Mon Sep 17 00:00:00 2001 From: Daniel Freytag Date: Wed, 18 Dec 2024 10:17:46 +0100 Subject: [PATCH] fix: types for minio --- deno.jsonc | 1 + storage-s3/storage.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno.jsonc b/deno.jsonc index 5dcb3ef..741f0a8 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -16,6 +16,7 @@ }, "tasks": { "check": "deno fmt --check && deno lint && biome lint", + "dry-run": "deno publish --dry-run", "test": "deno test --allow-sys --allow-env --clean --coverage" }, "lint": { diff --git a/storage-s3/storage.ts b/storage-s3/storage.ts index 343440c..0bb90a0 100644 --- a/storage-s3/storage.ts +++ b/storage-s3/storage.ts @@ -6,8 +6,7 @@ // import packages import { Buffer } from 'node:buffer' import { getRequiredEnv } from '@frytg/check-required-env/get' -// @deno-types="minio/dist/esm/minio.d.mts" -import type { BucketItem, BucketItemStat, BucketStream, Client } from 'minio' +import type { BucketItem, BucketItemStat, BucketStream, Client } from 'minio/dist/esm/minio.d.mts' // load utils import { minioClient } from './s3.ts'