Open rendaw opened 3 years ago
FYI core API is also fully open source and you can PR an improvment anytime of those definitions: https://github.com/cincheo/jsweet/blob/develop/core-lib/es6/src/main/java/def/dom/Node.java#L26
It seems indeed that this insertBefore method definition could benefit an overload.
Please feel free to PR, I will review/merge it in no time
For example
produces the error
expected 2 arguments, but got 1