1 | // Type definitions for extsprintf 1.4
|
2 | // Project: https://github.com/joyent/node-extsprintf#readme, https://github.com/davepacheco/node-extsprintf
|
3 | // Definitions by: Alex Hankins <https://github.com/AlexHankins>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | export interface Stream {
|
7 | write(str: string): void;
|
8 | }
|
9 |
|
10 | export function fprintf(stream: Stream, format: string, ...args: any[]): any;
|
11 | export function printf(format: string, ...args: any[]): any;
|
12 | export function sprintf(format: string, ...args: any[]): string;
|