balena-supervisor/typings/docker-delta.d.ts
Cameron Diver 02736113a3
refactor: Convert docker-utils module to typescript
Change-type: patch
Closes: #868
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-25 13:52:04 +00:00

13 lines
319 B
TypeScript

declare module 'docker-delta' {
// Incomplete type definitions
import TypedError = require('typed-error');
import { Duplex } from 'stream';
export class OutOfSyncError extends TypedError {}
export function applyDelta(
imageSource: string,
opts: { log: (str: string) => void; timeout: number },
): Duplex;
}