Closed timstableford closed 3 years ago
This adds a proxy for JS objects based off of the one in demoon but converted to a type extension. It's optional but enabled by default.
Also modified the error type extension to use Error.toString for its __tostring method rather than using the message string.
See the two new tests for examples. Not sure if the type extension would be better suited to just sitting in demoon though.
This adds a proxy for JS objects based off of the one in demoon but converted to a type extension. It's optional but enabled by default.
Also modified the error type extension to use Error.toString for its __tostring method rather than using the message string.
See the two new tests for examples. Not sure if the type extension would be better suited to just sitting in demoon though.