Closed ExE-Boss closed 2 years ago
If a function has an overridden toString property, then dts‑gen ends up crashing, as the output no longer matches what dts‑gen expects.
toString
dts‑gen
This fixes that by always calling the original Function.prototype.toString method.
Function.prototype.toString
Fixes https://github.com/microsoft/dts-gen/issues/145
Thanks, this looks good to me 👍🏻
If a function has an overridden
toString
property, thendts‑gen
ends up crashing, as the output no longer matches whatdts‑gen
expects.This fixes that by always calling the original
Function.prototype.toString
method.Fixes https://github.com/microsoft/dts-gen/issues/145