DefinitelyTyped/types/bytewise/index.d.ts
2018-09-18 12:00:24 -07:00

17 lines
451 B
TypeScript

// Type definitions for bytewise 1.1
// Project: https://github.com/deanlandolt/bytewise
// Definitions by: Daniel Byrne <https://github.com/danwbyrne>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
/// <reference types= "node" />
interface Bytewise {
encode: (value: any) => Buffer;
decode: (value: Buffer) => any;
[k: string]: any;
}
declare const bytewise: Bytewise;
export = bytewise;