fix: retain invariant host lint suppression
This commit is contained in:
parent
01a8882601
commit
c6e6f4f460
1 changed files with 1 additions and 0 deletions
|
|
@ -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[]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue