Skip to content

Commit 2175025

Browse files
committed
added jschardet typings
1 parent 7221ecc commit 2175025

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/types/jschardet.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
interface jschardetReturn {
2+
encoding: string;
3+
confidence: number;
4+
}
5+
6+
declare module "jschardet" {
7+
function detect(detect: string): jschardetReturn;
8+
}

0 commit comments

Comments
 (0)