MCPcopy
hub / github.com/heroku/react-refetch / headers

Function headers

src/utils/checkTypes.js:36–42  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

34 },
35
36 headers(obj) {
37 invariant(
38 isPlainObject(obj),
39 'headers must be a plain object with string values. Instead received a %s.',
40 typeof obj
41 )
42 },
43
44 method(str) {
45 typecheck('string', 'method', str)

Callers

nothing calls this directly

Calls 1

isPlainObjectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…