Skip to content

Commit 7bf1120

Browse files
authored
Add missing constructor type to NodeFileTypeParser (#651)
1 parent 499b985 commit 7bf1120

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ export type ReadableStreamWithFileType = NodeReadableStream & {
1414
Extending `FileTypeParser` with Node.js engine specific functions.
1515
*/
1616
export declare class NodeFileTypeParser extends FileTypeParser {
17+
constructor(options?: {customDetectors?: Iterable<Detector>});
18+
1719
/**
1820
@param stream - Node.js `stream.Readable` or web `ReadableStream`.
1921
*/

0 commit comments

Comments
 (0)