Closed pronebird closed 5 years ago
Thank you for your PR. Unfortunately I've already started working on a fix for the bug myself and I've pushed it just now. I'm going to create a new release with the fix soon.
I absolutely agree with you that the code base should be using strict type-checking. I've already started fixing the issues, but as you can imagine I have a limited amount of time I get to spend on this project.
@lukasgeiter fair enough. Thanks for maintaining this library 👍
This PR fixes the issue described in #23 by including the empty line comments into the output.
The fix is trivial but there are few things I'd like to suggest to improve the codebase to prevent the similar bugs from happening again:
strict: true
intsconfig.json
, consider the following example:const
instead oflet
in immutable contexts. Same example: