Skip to content

Commit

Permalink
Update core.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 10, 2023
1 parent ca6e449 commit a50e37a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,6 @@ Detect the file type of a [`Blob`](https://nodejs.org/api/buffer.html#class-blob
@returns The detected file type and MIME type, or `undefined` when there is no match.
@example
```
import {fileTypeFromBlob} from 'file-type';
Expand All @@ -437,7 +436,6 @@ const blob = new Blob(['<?xml version="1.0" encoding="ISO-8859-1" ?>'], {
console.log(await fileTypeFromBlob(blob));
//=> {ext: 'txt', mime: 'plain/text'}
```
*/
export declare function fileTypeFromBlob(blob: Blob): Promise<FileTypeResult | undefined>;

Expand Down

0 comments on commit a50e37a

Please sign in to comment.