Installation
npm install --save @types/lzbase62
Summary
This package contains type definitions for lzbase62 (https://github.com/polygonplanet/lzbase62).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lzbase62.
index.d.ts
interface DataOption {
onData(data: string): void;
}
interface EndOption {
onEnd(): void;
}
interface Options extends DataOption, EndOption {}
interface LZ62 {
version: string;
compress(data: string, options: Options | DataOption): "";
compress(data: string, options?: Partial<Options>): string;
decompress(data: string, options: Options | DataOption): "";
decompress(data: string, options?: Partial<Options>): string;
}
declare const lzbase62: LZ62;
export = lzbase62;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by ArthurKa.