Closed szeiger closed 8 years ago
In particular, a script may set exports to a string. This fails because RequireFunction.require expects exports to be of type Bindings, which is enforced when reassigning a new exports which was created by a script.
exports
RequireFunction.require
Bindings
In particular, a script may set
exports
to a string. This fails becauseRequireFunction.require
expectsexports
to be of typeBindings
, which is enforced when reassigning a newexports
which was created by a script.