Skip to content

Commit fee4cae

Browse files
Update core.d.ts
Improve file-type detectors array description Co-authored-by: Sindre Sorhus <[email protected]>
1 parent 04060c0 commit fee4cae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core.d.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,9 @@ export function fileTypeStream(webStream: AnyWebReadableStream<Uint8Array>, opti
184184

185185
export declare class FileTypeParser {
186186
/**
187-
File-type detectors, initialized with a single entry holding the build in detector function.
188-
The array is used to iterate over all detectors, as long as the function returns `undefined`.
187+
File type detectors.
188+
189+
Initialized with a single entry holding the built-in detector function.
189190
*/
190191
detectors: Detector[];
191192

0 commit comments

Comments
 (0)