Hi and thanks for this library! I'm following the README right now, and MLLPServer creation has a type error:
let mllp_timeout = 600;
let mllp_server = new MLLPServer('0.0.0.0', 2575, mllp_timeout);
// Argument of type 'number' is not assignable to parameter of type '(msg: string) => void'.ts(2345)
Checking the MLLPServer constructor reveals that the third arg is actually a logger function, not timeout.
Can you amend the README and mention that?
Hi and thanks for this library! I'm following the README right now, and
MLLPServercreation has a type error:Checking the
MLLPServerconstructor reveals that the third arg is actually a logger function, not timeout.Can you amend the README and mention that?