This commit is contained in:
Joao Moreno
2018-03-27 14:50:05 +02:00
parent 2b11285464
commit ab149aba6e
6 changed files with 108 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
declare module 'jschardet' {
export interface IDetectedMap {
encoding: string,
confidence: number
}
export function detect(buffer: NodeBuffer): IDetectedMap;
export const Constants: {
MINIMUM_THRESHOLD: number,
}
}