doc.fromhtml bukan fungsi

The fromHTML function was replaced by html in 2.0.0. Unfortunately, the typings currently still contain the fromHTML method but a fix is under way.
Ivan The Terrible