Type alias PluginContext<P>

PluginContext<P>: ReturnType<ReturnType<P>["init"]>[0] extends infer R ? unknown extends R ? never : R : never

Gets the PluginContext type from the plugin.

Returns

The PluginContext or never

Type Parameters

  • P extends AnyFunction

Generated using TypeDoc