(parser) Public API methods should validate input types better #2631
Labels
autoclose
Flag things to future autoclose.
enhancement
An enhancement or new feature
help welcome
Could use help from community
parser
Running
hljs.highlightAuto(1)
Result:
it happend when I forget to use .toString() in below code on
buffer
:fix:
ensure code param is in correct type (string) otherwise return error (it's not string, type is X)
The text was updated successfully, but these errors were encountered: