dailyprogrammer
Version:
The /r/dailyprogrammer Tool provides you with a cli to quickly initialize programming challenges and publish them.
10 lines • 420 B
text/typescript
export interface IConsoleFormatter {
/**
* Formats an object for the console
* @param object The object to format
* @param oneLine Whether or not to insert newline on the end of each prop
* @param pick If object is an object (or an array of object) only print
* keys from pick array.
*/
format( object: any, oneLine?: boolean, pick?: string[] ): string;
}