fix: Type definition for customFormat (#179)
fix: Type definition for customFormat (#179)

* Fix type definition for customFormat

when the customFormat is being called, data is passed in as an argument; the type definition said the function shouldn't return anything, but the code actually expects it to return a new data array.

* Type variations

megahertz/electron-log,megahertz/electron-log,megahertz/electron-log