大侠
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
712 B

// Type definitions for pako 1.0
// Project: https://github.com/nodeca/pako
// Definitions by: Denis Cappellin <https://github.com/cappellin>
// Caleb Eggensperger <https://github.com/calebegg>
// Muhammet Öztürk <https://github.com/hlthi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Pako压缩
*/
interface IPako {
/**
* 解压
* @param _data 数据
* @param _par 参数
*/
inflate(_data: any, _par?: object);
/**
* 压缩数据
* @param _string 字符串
*/
deflate(_data: string);
gzip(data,data2?:any);
ungzip(data,data2?:any);
}
/** Pako压缩实例 */
declare const pako: IPako;