|
|
@@ -54,6 +54,7 @@ type PluginFiber = ReturnType<RegistryService['plugin']>
|
|
|
type PluginCallback = Plugin.Function | Plugin.Constructor
|
|
|
|
|
|
const hosts = new WeakMap<Context, InvariantHost>()
|
|
|
+// oxlint-disable-next-line typescript/unbound-method -- every call below supplies its RegistryService receiver explicitly.
|
|
|
const originalPlugin = RegistryService.prototype.plugin
|
|
|
|
|
|
RegistryService.prototype.plugin = function(plugin: Plugin, config?: unknown, getOuterStack?: () => string[]) {
|