corrected type hints

This commit is contained in:
Anatoly 2018-05-03 03:14:06 +03:00
parent 83f7e546e6
commit ff33e4317a

View file

@ -33,7 +33,7 @@ import Conversion from './Classes/Conversion';
*
* @returns {void}
*/
export default (self: Conversion, log: string, tableLogPath: string, isErrorLog: boolean): void => {
export default (self: Conversion, log: string, tableLogPath?: string, isErrorLog?: boolean): void => {
const buffer: Buffer = Buffer.from(log + '\n\n', self._encoding);
if (!isErrorLog) {