mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-30 19:32:39 +08:00
Add a minimal ambient module declaration for jschardet so the repo pre-push typecheck hook passes in worktrees where upstream dependency typings are not resolved by tsgo.
15 lines
256 B
TypeScript
15 lines
256 B
TypeScript
declare module "jschardet" {
|
|
export interface Result {
|
|
encoding?: string
|
|
confidence?: number
|
|
}
|
|
|
|
export function detect(input: ArrayLike<number>): Result
|
|
|
|
const api: {
|
|
detect(input: ArrayLike<number>): Result
|
|
}
|
|
|
|
export default api
|
|
}
|