Skip to content

Commit

Permalink
Update core.d.ts
Browse files Browse the repository at this point in the history
Use hash for class method member reference

Co-authored-by: Sindre Sorhus <[email protected]>
  • Loading branch information
Borewit and sindresorhus authored Dec 18, 2024
1 parent 9e01044 commit 4602fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ A custom detector is a function that allows specifying custom detection mechanis
An array of detectors can be provided via the `fileTypeOptions` argument for the `FileTypeParser` constructor.
In Node.js, you should use `NodeFileTypeParser`, which extends `FileTypeParser` and provides access to Node.js specific functions.
Detectors can be added via the constructor options, or by adding it directly to `FileTypeParser.detectors`.
Detectors can be added via the constructor options, or by adding it directly to `FileTypeParser#detectors`.
The detectors provided via the constructor options, are called before the default detectors are called.
Expand Down

0 comments on commit 4602fc7

Please sign in to comment.