Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
rxliuli committed Feb 19, 2025
1 parent afa085e commit 73fd795
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/core/src/utils/fileTypeFromBuffer.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
export const fileTypeFromBuffer = async (
buffer: Uint8Array | ArrayBuffer
) => {
export const fileTypeFromBuffer = async (buffer: Uint8Array | ArrayBuffer) => {
const { fileTypeFromBuffer } = await import("file-type/core");
return await fileTypeFromBuffer(buffer);
};
};

0 comments on commit 73fd795

Please sign in to comment.