2016-09-19 06:33:23 +00:00
|
|
|
/*::
|
2017-07-04 06:26:51 +00:00
|
|
|
type ParsedEntry = Array<string>;
|
|
|
|
type ParsedFmt = Array<ParsedEntry>;
|
2016-09-19 06:33:23 +00:00
|
|
|
type Args = Array<any>;
|
|
|
|
declare module "exit-on-epipe" { };
|
2016-10-08 18:43:39 +00:00
|
|
|
declare class PRINTJModule {
|
2017-07-04 06:26:51 +00:00
|
|
|
version:string;
|
|
|
|
sprintf:(fmt:string, ...args:any)=>string;
|
|
|
|
vsprintf:(fmt:string, args:Args)=>string;
|
|
|
|
_doit:(t:ParsedFmt, args:Args)=>string;
|
|
|
|
_tokenize:(fmt:string)=>ParsedFmt;
|
2016-09-19 06:33:23 +00:00
|
|
|
};
|
2018-04-21 13:55:28 +00:00
|
|
|
declare module "./" { declare module.exports:PRINTJModule };
|
|
|
|
declare module "../" { declare module.exports:PRINTJModule };
|
2016-09-19 06:33:23 +00:00
|
|
|
*/
|