mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
13 lines
526 B
TypeScript
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;
|