ReplaceScope
typeWhich 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"