Skip to content

Commit 04060c0

Browse files
Update core.d.ts
Simplify file type detector description Co-authored-by: Sindre Sorhus <[email protected]>
1 parent 4602fc7 commit 04060c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ console.log(await fileTypeFromBlob(blob));
114114
export declare function fileTypeFromBlob(blob: Blob): Promise<FileTypeResult | undefined>;
115115

116116
/**
117-
A custom detector is a function that allows specifying custom detection mechanisms.
117+
A custom file type detector.
118118
119119
An array of detectors can be provided via the `fileTypeOptions` argument for the `FileTypeParser` constructor.
120120
In Node.js, you should use `NodeFileTypeParser`, which extends `FileTypeParser` and provides access to Node.js specific functions.

0 commit comments

Comments
 (0)