Remix
Remix
remix/fetch-router · TypeView Source

ContextWithValue

Summary

Replaces or adds the value type for a single context key in a RequestContext.

Third-party middleware packages that add one value should expose their own ContextWith* helper built on this type.

Signature

type ContextWithValue<context, key, value> = ContextWithValues<
  context,
  [readonly [key, value]]
>;