Skip to content

Commit

Permalink
Add missing constructor type to NodeFileTypeParser
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Jul 30, 2024
1 parent 499b985 commit 0348a60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export type ReadableStreamWithFileType = NodeReadableStream & {
Extending `FileTypeParser` with Node.js engine specific functions.
*/
export declare class NodeFileTypeParser extends FileTypeParser {

Check failure on line 16 in index.d.ts

View workflow job for this annotation

GitHub Actions / Node.js 22

Block must not be padded by blank lines.

Check failure on line 16 in index.d.ts

View workflow job for this annotation

GitHub Actions / Node.js 20

Block must not be padded by blank lines.

Check failure on line 16 in index.d.ts

View workflow job for this annotation

GitHub Actions / Node.js 18

Block must not be padded by blank lines.

Check failure on line 16 in index.d.ts

View workflow job for this annotation

GitHub Actions / Node.js 22

Block must not be padded by blank lines.

Check failure on line 16 in index.d.ts

View workflow job for this annotation

GitHub Actions / Node.js 20

Block must not be padded by blank lines.

Check failure on line 16 in index.d.ts

View workflow job for this annotation

GitHub Actions / Node.js 18

Block must not be padded by blank lines.

constructor(options?: {customDetectors?: Iterable<Detector>});

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

0 comments on commit 0348a60

Please sign in to comment.