Creates a new SyntheticModule
instance.
constructor
vm.SyntheticModule.constructor
Not implemented in Bun
constructor SyntheticModule(
exportNames: string[],
@param exportNames
Array of names that will be exported from the module.
@param evaluateCallback
Called when the module is evaluated.