@tempots/dom

DOMContext.withProviders() method

Returns a new DOMContext instance with the specified providers merged into the existing providers.

Signature:

withProviders(providers: {
        [K in ProviderMark<unknown>]: unknown;
    }): DOMContext;

Parameters

Parameter

Type

Description

providers

{ [K in ProviderMark<unknown>]: unknown; }

An object containing the providers to be merged into the existing providers.

Returns: DOMContext

A new DOMContext instance with the merged providers.