Type Alias Enhancer<Options, Api>

Enhancer: (
    container?: Document | HTMLElement,
    options?: Partial<Options>,
) => EnhancerHandle<Api>

The callable produced by defineEnhancer: enhances a container and returns a handle.

Type Parameters

  • Options extends object = Record<string, never>
  • Api = null

Type declaration