Skip to content

Commit

Permalink
adjust types to reflect browser support
Browse files Browse the repository at this point in the history
  • Loading branch information
gyzerok committed Jun 19, 2020
1 parent e12df20 commit a4c43fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export interface IDetectedMap {
encoding: string,
confidence: number
}
export function detect(buffer: Buffer, options?: { minimumThreshold: number }): IDetectedMap;
export function detect(buffer: Buffer | Uint8Array, options?: { minimumThreshold: number }): IDetectedMap;

export function enableDebug(): void;

0 comments on commit a4c43fd

Please sign in to comment.