Jerko Steiner 8c732ba91e Install eslint and fix errors
- argparse
- scripts
- tasq
- validator
2019-09-15 15:57:22 +07:00

10 lines
285 B
TypeScript

import {format} from 'util'
export function error(message: string, ...values: Array<unknown>) {
process.stderr.write(format(message, ...values) + '\n')
}
export function info(message: string, ...values: Array<unknown>) {
process.stdout.write(format(message, ...values) + '\n')
}