Files
DefinitelyTyped/fossil-delta/index.d.ts
2016-11-04 13:48:19 -07:00

13 lines
526 B
TypeScript

// Type definitions for fossil-delta 0.2.5
// Project: https://github.com/dchest/fossil-delta-js
// Definitions by: Endel Dreyer <https://github.com/endel/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
type ByteArray = Array<number> | Uint8Array | Buffer;
export function create(origin: ByteArray, target: ByteArray): Array<number>;
export function apply(origin: ByteArray, delta: Array<number>): Array<number>;
export function outputSize(delta: Array<number>): number;