Skip to content

Commit

Permalink
Add missing constructor type to NodeFileTypeParser (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit authored Jul 30, 2024
1 parent 499b985 commit 7bf1120
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export type ReadableStreamWithFileType = NodeReadableStream & {
Extending `FileTypeParser` with Node.js engine specific functions.
*/
export declare class NodeFileTypeParser extends FileTypeParser {
constructor(options?: {customDetectors?: Iterable<Detector>});

/**
@param stream - Node.js `stream.Readable` or web `ReadableStream`.
*/
Expand Down

0 comments on commit 7bf1120

Please sign in to comment.