La referencia de la API está disponible solo en inglés por ahora.

ReplaceScope

type
types.ts:1838

Which registrations a replace* call is allowed to remove.

"spec" is the default and replaces only what the application authored. "all" restores the pre-0.8.0 behaviour exactly, for a caller that genuinely wants it, such as a test harness resetting a store between cases. internal registrations survive both.

Definition

type
type ReplaceScope = "spec" | "all"

"spec" | "all"