Skip to content

ProviderSpec

type ProviderSpec = readonly [Provider: ComponentType<unknown>, props: AnyProps];

Defined in: providers.tsx:14

A provider entry for Providers.

This is intentionally “erased” (non-generic) so you can compose a heterogeneous list of providers (each with different props) in one array.

Use provider to create a ProviderSpec with correct prop inference.