mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
451 B
TypeScript
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;
|