corrected type hints
This commit is contained in:
parent
83f7e546e6
commit
ff33e4317a
|
@ -33,7 +33,7 @@ import Conversion from './Classes/Conversion';
|
||||||
*
|
*
|
||||||
* @returns {void}
|
* @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);
|
const buffer: Buffer = Buffer.from(log + '\n\n', self._encoding);
|
||||||
|
|
||||||
if (!isErrorLog) {
|
if (!isErrorLog) {
|
||||||
|
|
Loading…
Reference in a new issue