Narrows an unknown value to a usable store handle.
Client factories accept a store from application code, so the value cannot be trusted. Checking it here turns a bad argument into a clear error instead of a TypeError raised somewhere inside RTK.
TypeError
Narrows an unknown value to a usable store handle.
Client factories accept a store from application code, so the value cannot be trusted. Checking it here turns a bad argument into a clear error instead of a
TypeErrorraised somewhere inside RTK.