balena-cli/typings/rindle.d.ts
2018-01-09 17:14:49 +01:00

14 lines
296 B
TypeScript

declare module 'rindle' {
export function extract(
stream: NodeJS.ReadableStream,
callback: (error: Error, data: string) => void,
): void;
export function wait(
stream: {
on(event: string, callback: Function): void;
},
callback: (error: Error, data: string) => void,
): void;
}