IJSInProcessObjectReference
can't be imported with SetupModule
#484
Labels
documentation
Improvements or additions to documentation
Milestone
Is the feature request related to a problem? Please elaborate.
The
SetupModule
extension for setting up an imported JS module only supportsIJSObjectReference
but you can also import modules of typesIJSInProcessObjectReference
andIJSUnmarshalledObjectReference
.The suggested solution
IJSInProcessObjectReference
andIJSUnmarshalledObjectReference
are derived fromIJSObjectReference
so I think it should be possible to support this with minor changes.Describe any alternative solutions
If we can not use that they are derived interfaces to
IJSObjectReference
then it could just be implemented like the module setup feature forIJSObjectReference
.Additional context
I don't think a lot of people use this way of importing modules so might not be a priority.
Currently, I just do the following instead:
Might also be related to the last bit in this old issue #233 where we quickly mentioned
IJSInProcessObjectReference
The text was updated successfully, but these errors were encountered: